mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 07:54:12 +01:00
Halve the security errors at startup, but still annoyingly many of them.
This commit is contained in:
@@ -92,12 +92,6 @@ window.addEventListener("load", function () {
|
||||
|
||||
function init(mod, module)
|
||||
function () module.INIT[mod].call(modules[module.name], modules[mod]);
|
||||
function init(mod, module)
|
||||
function () {
|
||||
if (!(mod in modules))
|
||||
dump(mod + " not in modules");
|
||||
return module.INIT[mod].call(modules[module.name], modules[mod]);
|
||||
}
|
||||
for (let mod in values(loaded)) {
|
||||
try {
|
||||
if (mod in module.INIT)
|
||||
|
||||
Reference in New Issue
Block a user