mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -05:00
parent
bdc9ef7d27
commit
6faf61e6ef
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ var jsdom = require('jsdom'),
|
||||||
// Expose global browser variables and create a document and a window using
|
// Expose global browser variables and create a document and a window using
|
||||||
// jsdom, e.g. for import/exportSVG()
|
// jsdom, e.g. for import/exportSVG()
|
||||||
document = jsdom.jsdom('<html><body></body></html>'),
|
document = jsdom.jsdom('<html><body></body></html>'),
|
||||||
window = document.createWindow(),
|
window = document.parentWindow,
|
||||||
navigator = window.navigator,
|
navigator = window.navigator,
|
||||||
HTMLCanvasElement = Canvas,
|
HTMLCanvasElement = Canvas,
|
||||||
Image = Canvas.Image;
|
Image = Canvas.Image;
|
||||||
|
|
Loading…
Reference in a new issue