1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #6700 from Snuffleupagus/mozcentral-remove-FontLoader-bindDOM

Replace `font.bindDOM()` with `font.createFontFaceRule()` in the `FontLoader` for MOZCENTRAL specific code (PR 6571 follow-up)
This commit is contained in:
Yury Delendik 2015-11-28 21:33:38 -06:00
commit 84a47f8e53

View file

@ -280,7 +280,10 @@ FontLoader.prototype = {
// }
//
// font.attached = true;
// font.bindDOM()
// var rule = font.createFontFaceRule();
// if (rule) {
// this.insertRule(rule);
// }
// }
//
// setTimeout(callback);