aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStephen Blott2016-03-04 06:30:09 +0000
committerStephen Blott2016-03-04 06:30:09 +0000
commit36d9b07f7617b18706f9523cfee121a0e2cf61b0 (patch)
treece64d6228ca0a893c26c916c86b89bcdd914c3ea /lib
parent7f0fccf363ce887d8d9b1b92494ab94547931150 (diff)
downloadvimium-36d9b07f7617b18706f9523cfee121a0e2cf61b0.tar.bz2
Do not use standalone @.
The styles guide says not to use standalone `@`. So this changes the occurrences I could find (with sed) to `this`. Occurrences within files with major outstanding PRs are omitted.
Diffstat (limited to 'lib')
-rw-r--r--lib/handler_stack.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handler_stack.coffee b/lib/handler_stack.coffee
index c07d028b..bb0f19a6 100644
--- a/lib/handler_stack.coffee
+++ b/lib/handler_stack.coffee
@@ -45,7 +45,7 @@ class HandlerStack
# A handler may have been removed (handler.id == null), so check.
if handler?.id and handler[type]
@currentId = handler.id
- result = handler[type].call @, event
+ result = handler[type].call this, event
@logResult eventNumber, type, event, handler, result if @debug
if not result
DomUtils.suppressEvent event if @isChromeEvent event