Fixed lint warnings
This commit is contained in:
@@ -29,7 +29,7 @@ SwaggerUi.Views.AuthView = Backbone.View.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
renderAuths: function () {
|
renderAuths: function () {
|
||||||
var name, authEl;
|
var name, authEl, auth;
|
||||||
var el = $('<div>');
|
var el = $('<div>');
|
||||||
|
|
||||||
//todo refactor, copy-pasted from MainView.js
|
//todo refactor, copy-pasted from MainView.js
|
||||||
|
|||||||
@@ -83,8 +83,6 @@ SwaggerUi.Views.MainView = Backbone.View.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
render: function () {
|
render: function () {
|
||||||
var name, authEl, auth;
|
|
||||||
|
|
||||||
// Render the outer container for resources
|
// Render the outer container for resources
|
||||||
$(this.el).html(Handlebars.templates.main(this.model));
|
$(this.el).html(Handlebars.templates.main(this.model));
|
||||||
this.model.securityDefinitions = this.model.securityDefinitions || {};
|
this.model.securityDefinitions = this.model.securityDefinitions || {};
|
||||||
|
|||||||
Reference in New Issue
Block a user