merged from master
This commit is contained in:
3
dist/lib/swagger.js
vendored
3
dist/lib/swagger.js
vendored
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user