Comparing version 0.3.7 to 0.3.8
@@ -85,3 +85,3 @@ /*global window*/ | ||
if (self.status === 0 || | ||
(self.status > 400 && self.status < 600) | ||
(self.status >= 400 && self.status < 600) | ||
) { | ||
@@ -94,3 +94,4 @@ var message = self.responseText || | ||
return callback.call(self, error) | ||
return callback.call(self, error, self.response || | ||
self.responseText || self.responseXML) | ||
} | ||
@@ -97,0 +98,0 @@ |
{ | ||
"name": "xhr", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"description": "small xhr abstraction", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
6675
83