Comparing version 0.1.1 to 0.1.2
@@ -1,6 +0,6 @@ | ||
// Generated by CoffeeScript 1.7.1 | ||
// Generated by CoffeeScript 1.9.0 | ||
(function() { | ||
var InvalidStateError, NetworkError, ProgressEvent, SecurityError, XMLHttpRequest, XMLHttpRequestEventTarget, XMLHttpRequestUpload, http, https, os, url, | ||
__hasProp = {}.hasOwnProperty, | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; | ||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
__hasProp = {}.hasOwnProperty; | ||
@@ -47,3 +47,3 @@ XMLHttpRequestEventTarget = (function() { | ||
if (index !== -1) { | ||
this._listeners.splice(index, 1); | ||
this._listeners[eventType].splice(index, 1); | ||
} | ||
@@ -246,3 +246,3 @@ } | ||
value = _ref[name]; | ||
_results.push("" + name + ": " + value); | ||
_results.push(name + ": " + value); | ||
} | ||
@@ -574,3 +574,3 @@ return _results; | ||
if (user || password) { | ||
xhrUrl.auth = "" + user + ":" + password; | ||
xhrUrl.auth = user + ":" + password; | ||
} | ||
@@ -746,4 +746,4 @@ return xhrUrl; | ||
ProgressEvent = (function() { | ||
function ProgressEvent(type) { | ||
this.type = type; | ||
function ProgressEvent(_at_type) { | ||
this.type = _at_type; | ||
this.target = null; | ||
@@ -750,0 +750,0 @@ this.currentTarget = null; |
{ | ||
"name": "xhr2", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "XMLHttpRequest emulation for node.js", | ||
@@ -25,12 +25,12 @@ "keywords": ["xhr", "xmlhttprequest", "ajax", "browser"], | ||
"devDependencies": { | ||
"async": ">= 0.2.8", | ||
"chai": ">= 1.9.1", | ||
"async": ">= 0.9.0", | ||
"chai": ">= 1.10.0", | ||
"codo": ">= 2.0.9", | ||
"coffee-script": ">= 1.7.1", | ||
"express": ">= 4.8.3", | ||
"glob": ">= 4.0.5", | ||
"mocha": ">= 1.21.4", | ||
"coffee-script": ">= 1.9.0", | ||
"express": ">= 4.11.2", | ||
"glob": ">= 4.3.5", | ||
"mocha": ">= 2.1.0", | ||
"open": ">= 0.0.5", | ||
"remove": ">= 0.1.5", | ||
"sinon": ">= 1.10.3", | ||
"sinon": ">= 1.12.2", | ||
"sinon-chai": ">= 2.5.0" | ||
@@ -37,0 +37,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
112550