load-script
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -5,3 +5,3 @@ { | ||
"description": "Dynamic script loading", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"keywords": ["script", "load"], | ||
@@ -8,0 +8,0 @@ "license": "MIT", |
@@ -34,3 +34,3 @@ | ||
script.onreadystatechange = function () { | ||
if (this.readyState != 'complete') return | ||
if (this.readyState != 'complete' && this.readyState != 'loaded') return | ||
this.onreadystatechange = null | ||
@@ -37,0 +37,0 @@ cb() // there is no way to catch loading errors in IE8 |
{ | ||
"name": "load-script", | ||
"description": "Dynamic script loading", | ||
"version": "0.0.2", | ||
"keywords": ["script", "load"], | ||
"description": "Dynamic script loading for browser", | ||
"version": "0.0.3", | ||
"keywords": ["browser", "script", "load"], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/eldargab/load-script" | ||
}, | ||
"license": "MIT", | ||
@@ -7,0 +11,0 @@ "component": { |
@@ -7,2 +7,4 @@ # load-script | ||
via component | ||
``` | ||
@@ -12,2 +14,8 @@ $ component install eldargab/load-script | ||
via npm | ||
``` | ||
$ npm install load-script | ||
``` | ||
## API | ||
@@ -14,0 +22,0 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
2899
36
0
1