mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Cleanup lints identified by eslint
Some files were omitted in the .eslintignore, left as an exercise to the reader. We probably want to reduce amount of globals overall and use proper es modules.
This commit is contained in:
parent
ebeb45c8d6
commit
fab39ae57c
22 changed files with 93 additions and 56 deletions
|
@ -1,3 +1,5 @@
|
|||
/* global log, dbg, snowflake */
|
||||
|
||||
/*
|
||||
Communication with the snowflake broker.
|
||||
|
||||
|
@ -104,7 +106,7 @@ class Broker {
|
|||
return xhr.send(payload);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Broker.STATUS = {
|
||||
OK: 200,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue