summaryrefslogtreecommitdiff
path: root/common/content/dactyl.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2010-12-28 14:33:57 -0500
committerKris Maglione <maglione.k@gmail.com>2010-12-28 14:33:57 -0500
commit9655d741b8ff9e2644482811a9d0d0e86fddd581 (patch)
tree73309cb8dd0728f43d96073204b882457fc2db6a /common/content/dactyl.js
parent83aa5e4857586cca5fb59cbf18e9d1350900bd10 (diff)
downloadpentadactyl-9655d741b8ff9e2644482811a9d0d0e86fddd581.tar.gz
Add real mappings for most HINT mode keys. Lazily expand leader, and keep in sync with 'mapleader'.
--HG-- branch : bootstrapped
Diffstat (limited to 'common/content/dactyl.js')
-rw-r--r--common/content/dactyl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/dactyl.js b/common/content/dactyl.js
index 04b4e38d..4a29001f 100644
--- a/common/content/dactyl.js
+++ b/common/content/dactyl.js
@@ -2131,12 +2131,12 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
dactyl.log("All modules loaded", 3);
- AddonManager.getAddonByID(services["dactyl:"].addonID, function (addon) {
+ AddonManager.getAddonByID(services["dactyl:"].addonID, this.wrapCallback(function (addon) {
// @DATE@ token replaced by the Makefile
// TODO: Find it automatically
prefs.set("extensions.dactyl.version", addon.version);
dactyl.version = addon.version + " (created: @DATE@)";
- });
+ }));
if (!services.commandLineHandler)
services.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=" + config.name);