Add back font method (#4550)

* a test

* commited

* restored
This commit is contained in:
Andrea Bogazzi 2017-12-10 11:28:14 +01:00 committed by GitHub
parent 168ce21794
commit d9fc639002
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ else {
}
});
fabric.jsdomImplForWrapper = require('jsdom/lib/jsdom/living/generated/utils').implForWrapper;
fabric.nodeCanvas = require('jsdom/lib/jsdom/utils').Canvas;
fabric.window = fabric.document.defaultView;
DOMParser = require('xmldom').DOMParser;
}