weex-gcanvas
Advanced tools
Comparing version 0.5.14 to 0.5.16
@@ -109,3 +109,4 @@ var GBridge = require('./gutil').GBridge; | ||
me.height = data.height; | ||
me.onload && me.onload(); | ||
var evt = {type:'load', target:me}; | ||
me.onload && me.onload(evt); | ||
return; | ||
@@ -125,3 +126,4 @@ } | ||
if (data.error) { | ||
me.onerror && me.onerror(); | ||
var evt = {type:'error', target:me}; | ||
me.onerror && me.onerror(evt); | ||
} else { | ||
@@ -132,3 +134,4 @@ me.complete = true; | ||
me.onload && me.onload(); | ||
var evt = {type:'load', target:me}; | ||
me.onload && me.onload(evt); | ||
GCanvasImage.imageMap.put(src, data); | ||
@@ -135,0 +138,0 @@ } |
@@ -209,3 +209,3 @@ ///////////////////////////////////////////////////////////////// | ||
callExtendCallNative:function(dict){ | ||
return canvasModule && canvasModule.callExtendCallNative && canvasModule.extendCallNative(dict); | ||
return canvasModule && canvasModule.extendCallNative(dict); | ||
}, | ||
@@ -212,0 +212,0 @@ |
{ | ||
"name": "weex-gcanvas", | ||
"version": "0.5.14", | ||
"version": "0.5.16", | ||
"main":"gcanvas.js", | ||
@@ -5,0 +5,0 @@ "platform": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
239063
6558