[tor-commits] [snowflake/master] Fix some linting warnings for "Unnecessary fat arrow."

arlo at torproject.org arlo at torproject.org
Thu May 16 16:08:58 UTC 2019


commit 5384ef9d1670c3c34f2a1c376f1c9f549351862e
Author: Arlo Breault <arlolra at gmail.com>
Date:   Wed May 8 17:25:23 2019 -0400

    Fix some linting warnings for "Unnecessary fat arrow."
---
 proxy/ui.coffee | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/proxy/ui.coffee b/proxy/ui.coffee
index d4d647a..0464333 100644
--- a/proxy/ui.coffee
+++ b/proxy/ui.coffee
@@ -3,11 +3,11 @@ All of Snowflake's DOM manipulation and inputs.
 ###
 
 class UI
-  setStatus: (msg) =>
+  setStatus: (msg) ->
 
-  setActive: (connected) =>
+  setActive: (connected) ->
 
-  log: (msg) =>
+  log: (msg) ->
 
 
 class BadgeUI extends UI
@@ -45,7 +45,7 @@ class DebugUI extends UI
 
 
 class WebExtUI extends UI
-  setActive: (connected) =>
+  setActive: (connected) ->
     chrome.browserAction.setIcon {
       "path": {
         "32": "icons/status-" + (if connected then "on" else "off") + ".png"





More information about the tor-commits mailing list