Fixed lint warnings

This commit is contained in:
Anna Bodnia
2016-02-23 21:06:27 +02:00
parent 00aec33207
commit 253b56bbaf
2 changed files with 1 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ SwaggerUi.Views.AuthView = Backbone.View.extend({
},
renderAuths: function () {
var name, authEl;
var name, authEl, auth;
var el = $('<div>');
//todo refactor, copy-pasted from MainView.js

View File

@@ -83,8 +83,6 @@ SwaggerUi.Views.MainView = Backbone.View.extend({
},
render: function () {
var name, authEl, auth;
// Render the outer container for resources
$(this.el).html(Handlebars.templates.main(this.model));
this.model.securityDefinitions = this.model.securityDefinitions || {};