Comparing version 0.0.0-pre4 to 0.0.0-pre5
@@ -161,5 +161,5 @@ /* | ||
Api.prototype.catchCorsError = function (res) { | ||
if (res && res.statusCode === 0) { | ||
if (res && res.statusCode === 0) | ||
throw new Error("API failed due to cross-origin error"); | ||
} | ||
return res; | ||
}; | ||
@@ -166,0 +166,0 @@ |
{ | ||
"name": "ajaxapi", | ||
"version": "0.0.0-pre4", | ||
"version": "0.0.0-pre5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
19974