aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
diff options
context:
space:
mode:
authorStephen Blott2016-02-28 08:40:58 +0000
committerStephen Blott2016-03-05 05:38:30 +0000
commit5d918f75715cc2c595a77f1e9dc8fe545fabb663 (patch)
treeeca98c674b3013b2b4a7ad437988ac50f883343a /background_scripts/commands.coffee
parenta7136933b3e63ec5a7a50cd1dab9547b51f2d6d9 (diff)
downloadvimium-5d918f75715cc2c595a77f1e9dc8fe545fabb663.tar.bz2
Key bindings; more tweaks and fixes.
- There's no need to keep `@keyToCommandRegistry`; it's regenerated whenever it's needed.
Diffstat (limited to 'background_scripts/commands.coffee')
-rw-r--r--background_scripts/commands.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee
index 10d20753..9348e3c5 100644
--- a/background_scripts/commands.coffee
+++ b/background_scripts/commands.coffee
@@ -113,6 +113,7 @@ Commands =
currentMapping[key] = registryEntry
keys = rest
chrome.storage.local.set normalModeKeyStateMapping: keyMapping
+ @keyToCommandRegistry = {} # We don't need this any more, so free up the memory.
# An ordered listing of all available commands, grouped by type. This is the order they will
# be shown in the help page.