aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
diff options
context:
space:
mode:
authorStephen Blott2016-04-02 08:31:30 +0100
committerStephen Blott2016-04-02 08:31:30 +0100
commitdc62bc6f300052a75cadcfc47b0703cdf20bbb2d (patch)
treefe16b1a021ebd1ba26c881f6996f96e969c244dc /background_scripts/main.coffee
parent50ec8fc5b1387c8b423d8c7bb9fe6855951b7ca0 (diff)
downloadvimium-dc62bc6f300052a75cadcfc47b0703cdf20bbb2d.tar.bz2
The name argument isn't being used here.
Diffstat (limited to 'background_scripts/main.coffee')
-rw-r--r--background_scripts/main.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index c1ac6819..f17befa0 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -63,7 +63,7 @@ completionHandlers =
handleCompletions = (sender) -> (request, port) ->
completionHandlers[request.handler] completers[request.name], request, port
-chrome.runtime.onConnect.addListener (port, name) ->
+chrome.runtime.onConnect.addListener (port) ->
if (portHandlers[port.name])
port.onMessage.addListener portHandlers[port.name] port.sender, port