mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 03:35:45 +01:00
Merge addon-common module loading code to fix Minefield.
--HG-- extra : rebase_source : 6b5f0dc0a575a6d21892e18cbb56ab0230382356
This commit is contained in:
@@ -7,18 +7,17 @@
|
||||
/* use strict */
|
||||
|
||||
let global = this;
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("config", {
|
||||
exports: ["ConfigBase", "Config", "config"],
|
||||
require: ["dom", "io", "protocol", "services", "util", "template"]
|
||||
}, this);
|
||||
});
|
||||
|
||||
this.lazyRequire("addons", ["AddonManager"]);
|
||||
this.lazyRequire("cache", ["cache"]);
|
||||
this.lazyRequire("highlight", ["highlight"]);
|
||||
this.lazyRequire("messages", ["_"]);
|
||||
this.lazyRequire("prefs", ["localPrefs", "prefs"]);
|
||||
this.lazyRequire("storage", ["storage", "File"]);
|
||||
lazyRequire("addons", ["AddonManager"]);
|
||||
lazyRequire("cache", ["cache"]);
|
||||
lazyRequire("highlight", ["highlight"]);
|
||||
lazyRequire("messages", ["_"]);
|
||||
lazyRequire("prefs", ["localPrefs", "prefs"]);
|
||||
lazyRequire("storage", ["storage", "File"]);
|
||||
|
||||
function AboutHandler() {}
|
||||
AboutHandler.prototype = {
|
||||
|
||||
Reference in New Issue
Block a user