mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-03-16 22:10:32 +00:00
parent
168ce21794
commit
d9fc639002
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue