mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-16 05:03:32 +01:00
Fix some more unfortunate bugs. Yay tests.
This commit is contained in:
@@ -277,7 +277,11 @@ var Overlay = Module("Overlay", {
|
||||
});
|
||||
});
|
||||
defineModule.modules.forEach(function (mod) {
|
||||
Object.keys(mod.INIT).forEach(function (name) {
|
||||
let names = set(Object.keys(mod.INIT));
|
||||
if ("init" in mod.INIT)
|
||||
set.add(names, "init");
|
||||
|
||||
keys(names).forEach(function (name) {
|
||||
deferredInit[name] = deferredInit[name] || [];
|
||||
deferredInit[name].push(function () {
|
||||
// util.dump("INIT: " + mod.constructor.className + ":" + name);
|
||||
|
||||
Reference in New Issue
Block a user