Fixed lint warnings

This commit is contained in:
Anna Bodnia
2016-03-07 21:15:09 +02:00
parent eefc78db21
commit f9b8567d29
2 changed files with 1 additions and 3 deletions
+1 -1
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
-2
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 || {};