[tor-commits] [snowflake/master] Fix lint complaints

arlo at torproject.org arlo at torproject.org
Thu Jan 19 01:24:30 UTC 2017


commit 3516599bae84d396a34cde4199c58c9dd67b275a
Author: Arlo Breault <arlolra at gmail.com>
Date:   Wed Jan 18 17:23:18 2017 -0800

    Fix lint complaints
---
 proxy/snowflake.coffee | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxy/snowflake.coffee b/proxy/snowflake.coffee
index 944c304..1fff686 100644
--- a/proxy/snowflake.coffee
+++ b/proxy/snowflake.coffee
@@ -12,7 +12,7 @@ DEFAULT_RELAY =
   host: '192.81.135.242'
   port: 9902
 COPY_PASTE_ENABLED = false
-COOKIE_NAME = "snowflake-allow";
+COOKIE_NAME = "snowflake-allow"
 
 silenceNotifications = false
 query = Query.parse(location)
@@ -209,7 +209,7 @@ init = (isNode) ->
   cookies = Parse.cookie document.cookie
   # Do nothing if snowflake has not been opted in.
   if cookies[COOKIE_NAME] != "1"
-    console.log 'Snowflake is not activate. Please click the badge to change options.';
+    log 'Not activate. Please click the badge to change options.'
     return
 
   # Hook up to the debug UI if available.



More information about the tor-commits mailing list