http-browserify
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -10,5 +10,5 @@ var http = module.exports; | ||
} | ||
if (!params.scheme) params.scheme = window.location.protocol.split(':')[0]; | ||
if (!params.host) params.host = window.location.hostname; | ||
if (!params.port) params.port = params.scheme == 'https' ? 443 : 80; | ||
if (!params.scheme) params.scheme = window.location.protocol.split(':')[0]; | ||
@@ -15,0 +15,0 @@ var req = new Request(new xhrHttp, params); |
{ | ||
"name": "http-browserify", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "http module compatability for browserify", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
614272
52