1
0
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:
Kris Maglione
2011-02-06 13:50:00 -05:00
parent 221ddd46b0
commit 4d9c196b6c
5 changed files with 26 additions and 21 deletions

View File

@@ -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)))