[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [snowflake/master] Fix linting errors



commit d1bcc3cc3eb44624d49e1260be9d46eba61e57bb
Author: Cecylia Bocovich <cohosh@xxxxxxxxxxxxxx>
Date:   Tue Jul 2 13:08:58 2019 -0400

    Fix linting errors
---
 proxy/ui.coffee | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/proxy/ui.coffee b/proxy/ui.coffee
index ec8d4d5..7a41f32 100644
--- a/proxy/ui.coffee
+++ b/proxy/ui.coffee
@@ -72,7 +72,7 @@ class WebExtUI extends UI
 
   initToggle: ->
     try
-      getting = chrome.storage.local.get("snowflake-enabled", (result) => 
+      getting = chrome.storage.local.get("snowflake-enabled", (result) =>
         @enabled = result['snowflake-enabled']
         update()
         chrome.browserAction.setIcon
@@ -103,7 +103,8 @@ class WebExtUI extends UI
       path:
         32: "icons/status-" + (if @enabled then "on" else "off") + ".png"
     @postActive()
-    storing = chrome.storage.local.set({"snowflake-enabled":@enabled}, () -> log "Stored toggle state")
+    storing = chrome.storage.local.set({ "snowflake-enabled": @enabled },
+      () -> log "Stored toggle state")
 
   onDisconnect: (port) =>
     @port = null



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits