merged from master

This commit is contained in:
Tony Tam
2014-09-18 19:40:33 -07:00
parent 4ad4b499ee
commit b9c631e09e
2 changed files with 0 additions and 6 deletions

3
dist/lib/swagger.js vendored
View File

@@ -99,7 +99,6 @@ var SwaggerApi = function(url, options) {
this.info = null; this.info = null;
this.useJQuery = false; this.useJQuery = false;
this.modelsArray = []; this.modelsArray = [];
this.isValid;
options = (options||{}); options = (options||{});
if (url) if (url)
@@ -214,7 +213,6 @@ SwaggerApi.prototype.buildFromSpec = function(response) {
this.apisArray.push(res); this.apisArray.push(res);
} }
} }
this.isValid = true;
if (this.success) { if (this.success) {
this.success(); this.success();
} }
@@ -262,7 +260,6 @@ SwaggerApi.prototype.buildFrom1_1Spec = function(response) {
this.apisArray.push(res); this.apisArray.push(res);
} }
} }
this.isValid = true;
if (this.success) { if (this.success) {
this.success(); this.success();
} }

View File

@@ -99,7 +99,6 @@ var SwaggerApi = function(url, options) {
this.info = null; this.info = null;
this.useJQuery = false; this.useJQuery = false;
this.modelsArray = []; this.modelsArray = [];
this.isValid;
options = (options||{}); options = (options||{});
if (url) if (url)
@@ -214,7 +213,6 @@ SwaggerApi.prototype.buildFromSpec = function(response) {
this.apisArray.push(res); this.apisArray.push(res);
} }
} }
this.isValid = true;
if (this.success) { if (this.success) {
this.success(); this.success();
} }
@@ -262,7 +260,6 @@ SwaggerApi.prototype.buildFrom1_1Spec = function(response) {
this.apisArray.push(res); this.apisArray.push(res);
} }
} }
this.isValid = true;
if (this.success) { if (this.success) {
this.success(); this.success();
} }