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

@@ -53,7 +53,7 @@ window.SwaggerUi = Backbone.Router.extend({
// Event handler for when the baseUrl/apiKey is entered by user
this.headerView.on('update-swagger-ui', function(data) {
return this.updateSwaggerUi(data);
return that.updateSwaggerUi(data);
});
},