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:
@@ -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 : {},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user