1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 19:24:11 +01:00

Fix live update issues.

This commit is contained in:
Kris Maglione
2011-08-04 07:30:01 -04:00
parent d9c2c15965
commit e5e7978cd5
2 changed files with 18 additions and 9 deletions

View File

@@ -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 : {},