mirror of https://gitee.com/bigwinds/arangodb
fixed jslint warnings
This commit is contained in:
parent
af39f069f5
commit
e39bbea3f4
|
@ -1,6 +1,6 @@
|
|||
/*jslint indent: 2, nomen: true, maxlen: 100, sloppy: true, vars: true, white: true, plusplus: true, newcap: true */
|
||||
/*global window, $, Backbone, document, arangoCollection, arangoHelper, dashboardView */
|
||||
/*global FoxxInstalledListView, FoxxActiveListView*/
|
||||
/*global FoxxInstalledListView, FoxxActiveListView, ApplicationsView */
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ var ApplicationsView = Backbone.View.extend({
|
|||
var self = this;
|
||||
this._showDevel = !this._showDevel;
|
||||
_.each(this._installedSubViews, function(v) {
|
||||
v.toggle("devel", self._showDevel)
|
||||
v.toggle("devel", self._showDevel);
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -25,7 +25,7 @@ var ApplicationsView = Backbone.View.extend({
|
|||
var self = this;
|
||||
this._showActive = !this._showActive;
|
||||
_.each(this._installedSubViews, function(v) {
|
||||
v.toggle("active", self._showActive)
|
||||
v.toggle("active", self._showActive);
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -33,7 +33,7 @@ var ApplicationsView = Backbone.View.extend({
|
|||
var self = this;
|
||||
this._showInactive = !this._showInactive;
|
||||
_.each(this._installedSubViews, function(v) {
|
||||
v.toggle("inactive", self._showInactive)
|
||||
v.toggle("inactive", self._showInactive);
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -29,8 +29,6 @@ window.FoxxActiveView = Backbone.View.extend({
|
|||
this._show = shouldShow;
|
||||
}
|
||||
}
|
||||
console.log(shouldShow);
|
||||
console.log(this._show);
|
||||
if (this._show) {
|
||||
$(this.el).show();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue