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

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



commit 5384ef9d1670c3c34f2a1c376f1c9f549351862e
Author: Arlo Breault <arlolra@xxxxxxxxx>
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"



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