Move CustomStyle.

This commit is contained in:
Yury Delendik 2015-11-09 19:24:15 -06:00
parent 467c6f93b5
commit 2f34fd46cb
11 changed files with 87 additions and 55 deletions

View file

@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* globals CustomStyle, PDFJS */
/* globals PDFJS */
'use strict';
@ -119,7 +119,7 @@ var TextLayerBuilder = (function TextLayerBuilderClosure() {
transform = 'rotate(' + rotation + 'deg) ' + transform;
}
if (transform) {
CustomStyle.setProp('transform' , textDiv, transform);
PDFJS.CustomStyle.setProp('transform' , textDiv, transform);
}
}
}