mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-30 22:03:30 +02:00
Manually add list of global object properties to global objects.
--HG-- extra : rebase_source : 53318cbfe4a044e6bbf9facb1ce6bc5933ba6fd9
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
"use strict";
|
||||
|
||||
(function () {
|
||||
const modules = {};
|
||||
const jsmodules = {}
|
||||
const modules = { __proto__: jsmodules };
|
||||
const BASE = "chrome://dactyl/content/";
|
||||
|
||||
modules.modules = modules;
|
||||
@@ -27,7 +28,7 @@
|
||||
}
|
||||
}
|
||||
try {
|
||||
Components.utils.import("resource://dactyl/" + script + ".jsm", modules);
|
||||
Components.utils.import("resource://dactyl/" + script + ".jsm", jsmodules);
|
||||
}
|
||||
catch (e) {
|
||||
dump("dactyl: Loading script " + script + ": " + e.result + " " + e + "\n");
|
||||
|
||||
Reference in New Issue
Block a user