Remove global views

Append all views to SwaggerUi.Views object
This commit is contained in:
Mohsen Azimi
2015-03-12 16:42:23 -07:00
parent 8440833f6c
commit dac83b71c8
16 changed files with 56 additions and 54 deletions

View File

@@ -1,6 +1,6 @@
'use strict';
var ApiKeyButton = Backbone.View.extend({ // TODO: append this to global SwaggerUi
SwaggerUi.Views.ApiKeyButton = Backbone.View.extend({ // TODO: append this to global SwaggerUi
events:{
'click #apikey_button' : 'toggleApiKeyContainer',