add param to raster.todataurl

This commit is contained in:
sapics 2015-07-14 10:17:20 +09:00
parent 4044089d0e
commit d99b2be49a

View file

@ -462,7 +462,7 @@ var Raster = Item.extend(/** @lends Raster# */{
return src;
/*#*/ }
var canvas = this.getCanvas();
return canvas ? canvas.toDataURL() : null;
return canvas ? canvas.toDataURL.apply(canvas, arguments) : null;
},
/**