mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-10 06:25:46 +01:00
[bootstrap] Minor fixes.
--HG-- branch : bootstrapped
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
Components.utils.import("resource://dactyl/base.jsm");
|
||||
defineModule("overlay", {
|
||||
exports: ["ModuleBase"],
|
||||
require: ["sanitizer", "services", "template", "util"],
|
||||
require: ["highlight", "sanitizer", "services", "template", "util"],
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
@@ -932,11 +932,13 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
|
||||
},
|
||||
"dactyl-rehash": function () {
|
||||
util.dump("dactyl: util: observe: dactyl-rehash");
|
||||
for (let module in values(defineModule.modules))
|
||||
for (let module in values(defineModule.modules)) {
|
||||
util.dump("dactyl: util: init(" + module + ")");
|
||||
if (module.reinit)
|
||||
module.reinit();
|
||||
else
|
||||
module.init();
|
||||
}
|
||||
},
|
||||
"toplevel-window-ready": function (window, data) {
|
||||
window.addEventListener("DOMContentLoaded", wrapCallback(function listener(event) {
|
||||
|
||||
Reference in New Issue
Block a user