Skip to content

Commit

Permalink
Add back font method (#4550)
Browse files Browse the repository at this point in the history
* a test

* commited

* restored
  • Loading branch information
asturur authored Dec 10, 2017
1 parent 168ce21 commit d9fc639
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions HEADER.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d9fc639

Please sign in to comment.