Clean up some linting errors

This commit is contained in:
Arlo Breault 2019-07-15 09:07:00 +02:00 committed by Cecylia Bocovich
parent e60f22833a
commit 0f33546fec
4 changed files with 4 additions and 9 deletions

View file

@ -1,4 +1,4 @@
/* global TESTING, Util, Params, Config, DebugUI, BadgeUI, UI, Broker, Snowflake */ /* global Util, Params, Config, UI, Broker, Snowflake, Popup, Parse */
/* /*
UI UI
@ -41,7 +41,7 @@ class BadgeUI extends UI {
setActive(connected) { setActive(connected) {
super.setActive(connected); super.setActive(connected);
turnOn(); this.turnOn();
} }
} }
@ -83,9 +83,7 @@ var debug, snowflake, config, broker, ui, log, dbg, init, update, silenceNotific
}; };
dbg = function(msg) { dbg = function(msg) {
if (debug || ((snowflake != null ? snowflake.ui : void 0) instanceof DebugUI)) { if (debug) { log(msg); }
return log(msg);
}
}; };
update = function() { update = function() {

View file

@ -1,4 +1,4 @@
/* global Util, chrome, Config, WebExtUI, Broker, Snowflake */ /* global Util, chrome, Config, UI, Broker, Snowflake */
/* eslint no-unused-vars: 0 */ /* eslint no-unused-vars: 0 */
/* /*

View file

@ -1,5 +1,3 @@
/* global chrome, log, update */
/* /*
All of Snowflake's DOM manipulation and inputs. All of Snowflake's DOM manipulation and inputs.
*/ */

View file

@ -1,4 +1,3 @@
/* global log */
/* exported Params, DummyRateLimit */ /* exported Params, DummyRateLimit */
/* /*