nuke-core
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "nuke-core", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,3 +8,3 @@ // RegExp author cite: http://stackoverflow.com/a/11976301 | ||
* url | ||
* @param {[type]} url we://xxx.js,或者./xxx.js 或者../../xxx.js | ||
* @param {[type]} url qap://xxx.js,或者./xxx.js 或者../../xxx.js | ||
* @return {[type]} url [description] | ||
@@ -16,8 +16,8 @@ */ | ||
realurl=realpath(url); | ||
if(realurl.indexOf('we://')<0){ | ||
realurl='we://'+realurl; | ||
if(realurl.indexOf('qap://')<0){ | ||
realurl='qap://'+realurl; | ||
} | ||
} else { | ||
var base = location.host+location.pathname; | ||
url=url.replace('we://','./'); | ||
url=url.replace('qap://','./'); | ||
var weurl=realpath(url); | ||
@@ -24,0 +24,0 @@ realurl=base+'?we='+weurl; |
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
112962
41