1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-05 07:05:44 +01:00

Merge addon-common module loading code to fix Minefield.

--HG--
extra : rebase_source : 6b5f0dc0a575a6d21892e18cbb56ab0230382356
This commit is contained in:
Kris Maglione
2012-05-07 17:01:21 -04:00
parent 461b26c603
commit 43f3295127
33 changed files with 415 additions and 543 deletions

View File

@@ -12,15 +12,14 @@
// FIXME:
// - finish 1.9.0 support if we're going to support sanitizing in Melodactyl
Components.utils.import("resource://dactyl/bootstrap.jsm");
defineModule("sanitizer", {
exports: ["Range", "Sanitizer", "sanitizer"],
require: ["config", "prefs", "services", "util"]
}, this);
});
this.lazyRequire("messages", ["_"]);
this.lazyRequire("storage", ["storage"]);
this.lazyRequire("template", ["teplate"]);
lazyRequire("messages", ["_"]);
lazyRequire("storage", ["storage"]);
lazyRequire("template", ["template"]);
let tmp = {};
JSMLoader.loadSubScript("chrome://browser/content/sanitize.js", tmp);