weex-gcanvas
Advanced tools
Comparing version 0.5.12 to 0.5.14
@@ -677,27 +677,3 @@ var GBridge = require("./gutil").GBridge; | ||
}else if(numArgs === 5){ | ||
var x = parseFloat(sx) || 0; | ||
var y = parseFloat(sy) || 0; | ||
var width = parseInt(sw) || imageInfo.width; | ||
var height = parseInt(sh) || imageInfo.height; | ||
this._drawCommands += ("d" + imageInfo.id + ",0,0," | ||
+ imageInfo.width + "," + imageInfo.height + "," | ||
+ x + "," + y + "," + width + "," + height + ";"); | ||
}else if(numArgs === 9){ | ||
var sx = parseFloat(sx) || 0; | ||
var sy = parseFloat(sy) || 0; | ||
var sw = parseInt(sw) || imageInfo.width; | ||
var sh = parseInt(sh) || imageInfo.height; | ||
var dx = parseFloat(dx) || 0; | ||
var dy = parseFloat(dy) || 0; | ||
var dw = parseInt(dw) || imageInfo.width; | ||
var dh = parseInt(dh) || imageInfo.height; | ||
this._drawCommands += ("d" + imageInfo.id + "," | ||
+ sx + "," + sy + "," + sw + "," + sh + "," | ||
+ dx + "," + dy + "," + dw + "," + dh + ";"); | ||
} | ||
}; | ||
//------------------------------------------------- | ||
@@ -704,0 +680,0 @@ // iOS bindImageTexture 增加版本检测 |
{ | ||
"name": "weex-gcanvas", | ||
"version": "0.5.12", | ||
"version": "0.5.14", | ||
"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
238960
16
6555