From b9c631e09e17806b805c62959277278eec9cfee5 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Thu, 18 Sep 2014 19:40:33 -0700 Subject: [PATCH] merged from master --- dist/lib/swagger.js | 3 --- lib/swagger.js | 3 --- 2 files changed, 6 deletions(-) diff --git a/dist/lib/swagger.js b/dist/lib/swagger.js index 7459f97f..9e73a9b3 100644 --- a/dist/lib/swagger.js +++ b/dist/lib/swagger.js @@ -99,7 +99,6 @@ var SwaggerApi = function(url, options) { this.info = null; this.useJQuery = false; this.modelsArray = []; - this.isValid; options = (options||{}); if (url) @@ -214,7 +213,6 @@ SwaggerApi.prototype.buildFromSpec = function(response) { this.apisArray.push(res); } } - this.isValid = true; if (this.success) { this.success(); } @@ -262,7 +260,6 @@ SwaggerApi.prototype.buildFrom1_1Spec = function(response) { this.apisArray.push(res); } } - this.isValid = true; if (this.success) { this.success(); } diff --git a/lib/swagger.js b/lib/swagger.js index 7459f97f..9e73a9b3 100644 --- a/lib/swagger.js +++ b/lib/swagger.js @@ -99,7 +99,6 @@ var SwaggerApi = function(url, options) { this.info = null; this.useJQuery = false; this.modelsArray = []; - this.isValid; options = (options||{}); if (url) @@ -214,7 +213,6 @@ SwaggerApi.prototype.buildFromSpec = function(response) { this.apisArray.push(res); } } - this.isValid = true; if (this.success) { this.success(); } @@ -262,7 +260,6 @@ SwaggerApi.prototype.buildFrom1_1Spec = function(response) { this.apisArray.push(res); } } - this.isValid = true; if (this.success) { this.success(); }