Updating swagger-ui code to the latest version and removing the 'Try it out' buttons

This commit is contained in:
nikhiljindal
2015-02-04 15:01:18 -08:00
parent 0474c49b07
commit 6684d962df
12 changed files with 22941 additions and 5812 deletions

View File

@@ -1723,7 +1723,7 @@ var zlib = null;
try {
zlib = require('zlib');
} catch (e) {
console.warn("no zlib library");
// console.warn("no zlib library");
}
// Iconv doesn't work in browser
@@ -1731,7 +1731,7 @@ var Iconv = null;
try {
Iconv = require('iconv-lite');
} catch (e) {
console.warn("no iconv library");
// console.warn("no iconv library");
}
// Construct a `Response` object. You should never have to do this directly. The
@@ -2207,7 +2207,7 @@ module.exports = {
constructor.prototype.getHeaders = function() { return getHeaders(this,arguments); };
constructor.prototype.setHeader = function(key,value) { return setHeader(this,key,value); };
constructor.prototype.setHeaders = function(hash) { return setHeaders(this,hash); };
},
}
};
});