Merge pull request #730 from sapics/raster.toDataURL

add param to raster.todataurl
This commit is contained in:
Jürg Lehni 2015-08-21 17:41:32 +02:00
commit af24af8916

View file

@ -496,7 +496,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;
},
/**