mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 17:17:59 +01:00
Use Object.keys/getOwnPropertyNames (and provide them if they don't exist).
This commit is contained in:
@@ -104,7 +104,7 @@ window.addEventListener("load", function () {
|
||||
dactyl.reportError(e);
|
||||
}
|
||||
}
|
||||
for (let mod in keys(module.INIT)) {
|
||||
for (let mod in values(Object.keys(module.INIT))) {
|
||||
deferredInit[mod] = deferredInit[mod] || [];
|
||||
deferredInit[mod].push(init(mod, module));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user