mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 06:35:48 +01:00
Merge addon-common module loading code to fix Minefield.
--HG-- extra : rebase_source : 6b5f0dc0a575a6d21892e18cbb56ab0230382356
This commit is contained in:
@@ -9,14 +9,15 @@
|
||||
|
||||
try {
|
||||
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("io", {
|
||||
exports: ["IO", "io"],
|
||||
require: ["services"]
|
||||
}, this);
|
||||
});
|
||||
|
||||
this.lazyRequire("config", ["config"]);
|
||||
this.lazyRequire("contexts", ["Contexts", "contexts"]);
|
||||
lazyRequire("config", ["config"]);
|
||||
lazyRequire("contexts", ["Contexts", "contexts"]);
|
||||
lazyRequire("storage", ["File", "storage"]);
|
||||
lazyRequire("styles", ["styles"]);
|
||||
|
||||
// TODO: why are we passing around strings rather than file objects?
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user