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.attached = true;
// font.bindDOM() // var rule = font.createFontFaceRule();
// if (rule) {
// this.insertRule(rule);
// }
// } // }
// //
// setTimeout(callback); // setTimeout(callback);