mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Update to jsdom v7.2.2 with https://github.com/tmpvar/jsdom/pull/1366 back-portedd.
This commit is contained in:
parent
7781ecb76a
commit
15797903cf
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
||||||
"node": ">=0.8.0 <5.0.0"
|
"node": ">=0.8.0 <5.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jsdom": "git://github.com/lehni/jsdom.git#45c5ad551ff7d12efacac06bea5b29cc3aeadb20",
|
"jsdom": "git://github.com/lehni/jsdom.git#3d55789d0f4d55392721b1e22890837fde472375",
|
||||||
"source-map-support": "^0.4.0"
|
"source-map-support": "^0.4.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
|
|
|
@ -37,7 +37,7 @@ Base.each(
|
||||||
['pngStream', 'createPNGStream', 'jpgStream', 'createJPGStream'],
|
['pngStream', 'createPNGStream', 'jpgStream', 'createJPGStream'],
|
||||||
function(key) {
|
function(key) {
|
||||||
this[key] = function() {
|
this[key] = function() {
|
||||||
var impl = idlUtils.implForWrapper(this),
|
var impl = this._canvas ? this : idlUtils.implForWrapper(this),
|
||||||
canvas = impl && impl._canvas;
|
canvas = impl && impl._canvas;
|
||||||
return canvas[key].apply(canvas, arguments);
|
return canvas[key].apply(canvas, arguments);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue