1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-23 13:05:48 +01:00

Fix lost keys when opening command line for the first time. Fix cleanup issue.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-06 13:50:00 -05:00
parent 0b02483ff1
commit 78e8c3c20e
4 changed files with 25 additions and 20 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)))