Remove global auth object references and fix header api key adding mechanism

Fixes #1033
This commit is contained in:
Mohsen Azimi
2015-03-16 12:47:50 -07:00
parent 9ed1ad88ec
commit 66adb0d508
8 changed files with 33 additions and 16 deletions

View File

@@ -18,7 +18,7 @@ SwaggerUi.Views.ApiKeyButton = Backbone.View.extend({ // TODO: append this to gl
applyApiKey: function(){
var keyAuth = new ApiKeyAuthorization(
var keyAuth = new SwaggerClient.ApiKeyAuthorization(
this.model.name,
$('#input_apiKey_entry').val(),
this.model.in