mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Clean up some linting errors
This commit is contained in:
parent
e60f22833a
commit
0f33546fec
4 changed files with 4 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
/* global TESTING, Util, Params, Config, DebugUI, BadgeUI, UI, Broker, Snowflake */
|
||||
/* global Util, Params, Config, UI, Broker, Snowflake, Popup, Parse */
|
||||
|
||||
/*
|
||||
UI
|
||||
|
@ -41,7 +41,7 @@ class BadgeUI extends UI {
|
|||
|
||||
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) {
|
||||
if (debug || ((snowflake != null ? snowflake.ui : void 0) instanceof DebugUI)) {
|
||||
return log(msg);
|
||||
}
|
||||
if (debug) { log(msg); }
|
||||
};
|
||||
|
||||
update = function() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* global Util, chrome, Config, WebExtUI, Broker, Snowflake */
|
||||
/* global Util, chrome, Config, UI, Broker, Snowflake */
|
||||
/* eslint no-unused-vars: 0 */
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/* global chrome, log, update */
|
||||
|
||||
/*
|
||||
All of Snowflake's DOM manipulation and inputs.
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* global log */
|
||||
/* exported Params, DummyRateLimit */
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue