Merge pull request #5848 from Snuffleupagus/fix-node-getinfo-example

Fix the node getinfo.js example
This commit is contained in:
Tim van der Meij 2015-03-17 21:43:34 +01:00
commit 4e95362f8f

View File

@ -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);