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:
commit
84a47f8e53
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user