Merge pull request #5848 from Snuffleupagus/fix-node-getinfo-example
Fix the node getinfo.js example
This commit is contained in:
commit
4e95362f8f
@ -105,7 +105,8 @@ var FontLoader = {
|
||||
|
||||
nativeFontFaces: [],
|
||||
|
||||
isFontLoadingAPISupported: !isWorker && !!document.fonts,
|
||||
isFontLoadingAPISupported: (!isWorker && typeof document !== 'undefined' &&
|
||||
!!document.fonts),
|
||||
|
||||
addNativeFontFace: function fontLoader_addNativeFontFace(nativeFontFace) {
|
||||
this.nativeFontFaces.push(nativeFontFace);
|
||||
|
Loading…
x
Reference in New Issue
Block a user