diff options
| author | Stephen Blott | 2016-03-04 06:30:09 +0000 |
|---|---|---|
| committer | Stephen Blott | 2016-03-04 06:30:09 +0000 |
| commit | 36d9b07f7617b18706f9523cfee121a0e2cf61b0 (patch) | |
| tree | ce64d6228ca0a893c26c916c86b89bcdd914c3ea /tests | |
| parent | 7f0fccf363ce887d8d9b1b92494ab94547931150 (diff) | |
| download | vimium-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 'tests')
| -rw-r--r-- | tests/unit_tests/handler_stack_test.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/handler_stack_test.coffee b/tests/unit_tests/handler_stack_test.coffee index 0ed85e63..629fc3ed 100644 --- a/tests/unit_tests/handler_stack_test.coffee +++ b/tests/unit_tests/handler_stack_test.coffee @@ -63,7 +63,7 @@ context "handlerStack", assert.isFalse @handler1Called should "handle self-removing handlers correctly", -> - ctx = @ + ctx = this @handlerStack.push { keydown: => @handler1Called = true } @handlerStack.push { keydown: -> ctx.handler2Called = true |
