mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-10 08:05:46 +01:00
Use evalInSandbox for :js rather than the subscript loader so that we can preserve file names/line numbers.
This commit is contained in:
@@ -124,7 +124,7 @@ const Services = Module("Services", {
|
||||
}, {
|
||||
}, {
|
||||
init: function (dactyl, modules) {
|
||||
if (!this.get("extensionManager"))
|
||||
if (!modules.AddonManager && !this.get("extensionManager"))
|
||||
Components.utils.import("resource://gre/modules/AddonManager.jsm", modules);
|
||||
},
|
||||
javascript: function (dactyl, modules) {
|
||||
|
||||
Reference in New Issue
Block a user