mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-15 07:55:45 +01:00
Merge addon-common module loading code to fix Minefield.
--HG-- extra : rebase_source : 6b5f0dc0a575a6d21892e18cbb56ab0230382356
This commit is contained in:
@@ -4,13 +4,16 @@
|
||||
// given in the LICENSE.txt file included with this file.
|
||||
/* use strict */
|
||||
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("contexts", {
|
||||
exports: ["Contexts", "Group", "contexts"],
|
||||
require: ["services", "util"]
|
||||
}, this);
|
||||
});
|
||||
|
||||
this.lazyRequire("overlay", ["overlay"]);
|
||||
lazyRequire("commands", ["ArgType", "CommandOption", "commands"]);
|
||||
lazyRequire("options", ["Option"]);
|
||||
lazyRequire("overlay", ["overlay"]);
|
||||
lazyRequire("storage", ["File"]);
|
||||
lazyRequire("template", ["template"]);
|
||||
|
||||
var Const = function Const(val) Class.Property({ enumerable: true, value: val });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user