From 520060d69cff5f7a14e9d3fc2b4480a827110dff Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 18 Jan 2015 17:26:17 +0000 Subject: Modes; refactor permanent instance. I had intended the whole Insert.permanentInstance lark to be gone before merging #1413. Somehow, this got missed. It's retained, here, but is only needed for the tests. It gives the tests a hook into the single insert-mode permanent instance, so they can test its state. --- content_scripts/vimium_frontend.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts/vimium_frontend.coffee') diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 35d92f3c..fdd36ab9 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -124,7 +124,7 @@ initializePreDomReady = -> # activates/deactivates itself accordingly. new NormalMode new PassKeysMode - new InsertMode + new InsertMode permanent: true checkIfEnabledForUrl() -- cgit v1.2.3