Append swagger-auth global functions to window and don't break backward

This commit is contained in:
Mohsen Azimi
2015-03-16 15:05:42 -07:00
parent 8c6e3a6d95
commit d61cf24ae0
5 changed files with 14 additions and 6 deletions

3
dist/swagger-ui.js vendored
View File

@@ -201,7 +201,8 @@ window.SwaggerUi = Backbone.Router.extend({
});
window.SwaggerUi.Views = {};
window.SwaggerUi.Views = {};
this["Handlebars"] = this["Handlebars"] || {};
this["Handlebars"]["templates"] = this["Handlebars"]["templates"] || {};
this["Handlebars"]["templates"]["apikey_button_view"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {