mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Lightly massage some of the generated JavaScript
This commit is contained in:
parent
31ad9566e6
commit
1867a3f121
19 changed files with 986 additions and 989 deletions
|
@ -1,22 +1,20 @@
|
|||
// Generated by CoffeeScript 2.4.1
|
||||
/*
|
||||
Entry point.
|
||||
*/
|
||||
var broker, config, dbg, log, snowflake, ui;
|
||||
|
||||
config = new Config;
|
||||
var config = new Config;
|
||||
|
||||
ui = new UI();
|
||||
var ui = new UI();
|
||||
|
||||
broker = new Broker(config.brokerUrl);
|
||||
var broker = new Broker(config.brokerUrl);
|
||||
|
||||
snowflake = new Snowflake(config, ui, broker);
|
||||
var snowflake = new Snowflake(config, ui, broker);
|
||||
|
||||
log = function(msg) {
|
||||
var log = function(msg) {
|
||||
return console.log('Snowflake: ' + msg);
|
||||
};
|
||||
|
||||
dbg = log;
|
||||
var dbg = log;
|
||||
|
||||
log('== snowflake proxy ==');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue