1
0
Fork 0

fixed jslint warnings

This commit is contained in:
Jan Steemann 2013-06-26 16:52:50 +02:00
parent af39f069f5
commit e39bbea3f4
3 changed files with 4 additions and 6 deletions

View File

@ -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() {

View File

@ -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);
});
},

View File

@ -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 {