From d99b2be49adebac95ea07a73602e5e43d5f10d0c Mon Sep 17 00:00:00 2001 From: sapics Date: Tue, 14 Jul 2015 10:17:20 +0900 Subject: [PATCH] add param to raster.todataurl --- src/item/Raster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/item/Raster.js b/src/item/Raster.js index 4f7750b7..d472c668 100644 --- a/src/item/Raster.js +++ b/src/item/Raster.js @@ -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; }, /**