mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 04:32:26 +01:00
Fix lost keys when opening command line for the first time. Fix cleanup issue.
This commit is contained in:
@@ -917,6 +917,7 @@ Module.INIT = {
|
||||
let module = this, objs = {};
|
||||
for (let i in locals)
|
||||
module = objs[i] = Object.create(module);
|
||||
module.isLocalModule = true;
|
||||
|
||||
modules.jsmodules[this.constructor.className] = module;
|
||||
locals.reverse().forEach(function (fn, i) update(objs[i], fn.apply(module, args)))
|
||||
|
||||
Reference in New Issue
Block a user