updated swagger-js

This commit is contained in:
Tony Tam
2013-09-26 16:24:06 -07:00
parent abc3600994
commit 348f1e109b
4 changed files with 4 additions and 4 deletions

2
dist/lib/swagger.js vendored
View File

@@ -301,7 +301,7 @@
headers: {},
on: {
error: function(response) {
return _this.api.fail("Unable to read api '" + _this.name + "' from path " + _this.url + " (server returned " + error.statusText + ")");
return _this.api.fail("Unable to read api '" + _this.name + "' from path " + _this.url + " (server returned " + response.statusText + ")");
},
response: function(rawResponse) {
var response;