bm-load-image
Advanced tools
Comparing version 1.0.1 to 1.0.2
10
index.js
/** | ||
* @version 0.0.1 | ||
* @version 1.0.2 | ||
*/ | ||
const loadImage = function (path, i, callback) { | ||
var loadImage = function (path, i, callback) { | ||
var img = new Image(); | ||
@@ -28,3 +28,3 @@ if(callback) { | ||
const loadAllImages = function(imgs, callback, endCb) { | ||
var loadAllImages = function(imgs, callback, endCb) { | ||
var len = imgs.length | ||
@@ -57,4 +57,2 @@ , i | ||
export default { | ||
loadAllImages | ||
} | ||
module.exports = loadAllImages |
{ | ||
"name": "bm-load-image", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Johnxiao" |
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
2841
47