summaryrefslogtreecommitdiff
path: root/common/modules
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-08-04 07:30:01 -0400
committerKris Maglione <maglione.k@gmail.com>2011-08-04 07:30:01 -0400
commite5e7978cd5398c5b370265dbee523b68bbeca855 (patch)
tree6c933657c55c892b8f95575bcd4cc2e745e1f12f /common/modules
parentd9c2c1596514d7cdef101f8b575a779f025e6f2e (diff)
downloadpentadactyl-e5e7978cd5398c5b370265dbee523b68bbeca855.tar.gz
Fix live update issues.
Diffstat (limited to 'common/modules')
-rw-r--r--common/modules/bootstrap.jsm6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/modules/bootstrap.jsm b/common/modules/bootstrap.jsm
index 43810ffe..d51f8696 100644
--- a/common/modules/bootstrap.jsm
+++ b/common/modules/bootstrap.jsm
@@ -19,11 +19,11 @@ if (!JSMLoader && "@mozilla.org/fuel/application;1" in Components.classes)
.getService(Components.interfaces.extIApplication)
.storage.get("dactyl.JSMLoader", null);
-if (JSMLoader && JSMLoader.bump === 4)
+if (JSMLoader && JSMLoader.bump === 5)
JSMLoader.global = this;
else
JSMLoader = {
- bump: 4,
+ bump: 5,
builtin: Cu.Sandbox(this),
@@ -41,7 +41,7 @@ else
manager: Components.manager.QueryInterface(Ci.nsIComponentRegistrar),
- modules: JSMLoader ? JSMLoader.modules : {},
+ modules: JSMLoader && JSMLoader.modules || {},
stale: JSMLoader ? JSMLoader.stale : {},