From 22aad0018691b3e647c9dd643cbc9179529db8b4 Mon Sep 17 00:00:00 2001 From: tianshengjiie Date: Mon, 29 May 2017 17:54:10 +0800 Subject: [PATCH] when-canvas-not-support-2.0.4 --- js/Jcrop.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/Jcrop.js b/js/Jcrop.js index 5e2edc57..20f9f240 100644 --- a/js/Jcrop.js +++ b/js/Jcrop.js @@ -159,6 +159,9 @@ $.extend(AbstractStage,{ }, getElement: function(){ return this.element; + }, + init: function(core){ + this.core = core; } } }); @@ -226,9 +229,6 @@ $.extend(CanvasStage,{ }); $.extend(CanvasStage.prototype,{ - init: function(core){ - this.core = core; - }, // setOffset: function(x,y) {{{ setOffset: function(x,y) { this.offset = [x,y];