mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 19:47:59 +01:00
Use Cu.unload where available.
--HG-- extra : rebase_source : 28ce17c49f2eeb6b330ce47e13e0543569348c59
This commit is contained in:
2
common/bootstrap.js
vendored
2
common/bootstrap.js
vendored
@@ -221,7 +221,7 @@ function init() {
|
||||
createInstance: function () this.instance
|
||||
});
|
||||
|
||||
Cc[BOOTSTRAP_CONTRACT].getService().wrappedJSObject.loader = JSMLoader;
|
||||
Cc[BOOTSTRAP_CONTRACT].getService().wrappedJSObject.loader = !Cu.unload && JSMLoader;
|
||||
|
||||
for each (let component in components)
|
||||
component.register();
|
||||
|
||||
Reference in New Issue
Block a user