load-script
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -5,3 +5,3 @@ { | ||
"description": "Dynamic script loading", | ||
"version": "0.0.3", | ||
"version": "0.0.5", | ||
"keywords": ["script", "load"], | ||
@@ -8,0 +8,0 @@ "license": "MIT", |
@@ -6,2 +6,4 @@ | ||
cb = cb || function() {}; | ||
script.type = 'text/javascript' | ||
@@ -12,6 +14,4 @@ script.charset = 'utf8' | ||
if (cb) { | ||
var onend = 'onload' in script ? stdOnEnd : ieOnEnd | ||
onend(script, cb) | ||
} | ||
var onend = 'onload' in script ? stdOnEnd : ieOnEnd | ||
onend(script, cb) | ||
@@ -18,0 +18,0 @@ // some good legacy browsers (firefox) fail the 'in' detection above |
{ | ||
"name": "load-script", | ||
"description": "Dynamic script loading for browser", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"keywords": [ | ||
@@ -14,8 +14,10 @@ "browser", | ||
}, | ||
"license": "MIT", | ||
"component": { | ||
"scripts": { | ||
"load-script/index.js": "index.js" | ||
} | ||
} | ||
"scripts": { | ||
"test": "zuul -- test/index.js", | ||
"test-local": "zuul --local 9005 -- test/index.js" | ||
}, | ||
"devDependencies": { | ||
"zuul": "~1.5.4" | ||
}, | ||
"license": "MIT" | ||
} |
Sorry, the diff of this file is not supported yet
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
3732
1
94