aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Blott2016-03-18 07:27:49 +0000
committerStephen Blott2016-03-18 07:31:51 +0000
commita5ff084fba22c43ed170308e41a31b62455e52a1 (patch)
tree1e3e2ae2b90eea60ea0ade8e3044d6cce6e78634 /tests
parent51e67b8c623cb68b9be2e172dffc7790da0ae288 (diff)
downloadvimium-a5ff084fba22c43ed170308e41a31b62455e52a1.tar.bz2
Clarify why things are exported.
We have: window.XXX = XXX = -> ... in many places. This commit reduces the number of these, and moves the exports to the end, where a single comment explains why they're being exported.
Diffstat (limited to 'tests')
-rw-r--r--tests/dom_tests/dom_tests.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dom_tests/dom_tests.coffee b/tests/dom_tests/dom_tests.coffee
index c3f4ecc1..dad4def9 100644
--- a/tests/dom_tests/dom_tests.coffee
+++ b/tests/dom_tests/dom_tests.coffee
@@ -28,7 +28,7 @@ commandName = commandCount = null
initializeModeState = ->
Mode.reset()
handlerStack.reset()
- installModes()
+ normalMode = installModes()
normalMode.setPassKeys "p"
normalMode.setKeyMapping
m: options: {}, command: "m" # A mapped key.