mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20: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
|
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() {
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
/* global chrome, log, update */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
All of Snowflake's DOM manipulation and inputs.
|
All of Snowflake's DOM manipulation and inputs.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
/* global log */
|
|
||||||
/* exported Params, DummyRateLimit */
|
/* exported Params, DummyRateLimit */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue