require-from-url
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,3 +6,4 @@ var parse = require("url").parse; | ||
var _status, _resolve, _reject, _args; | ||
var _result = function(url) { | ||
var _result = function() { | ||
var url = Array.from(arguments); | ||
_status = 'Pending'; | ||
@@ -12,3 +13,3 @@ _resolve = []; | ||
_args = undefined; | ||
var _url = [].concat(url), | ||
var _url = [].concat(url.length===1 ? url[0] : url), | ||
_len = _url.length, | ||
@@ -15,0 +16,0 @@ values = Array(_len); |
{ | ||
"name": "require-from-url", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Require module from URL", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
4001
93