1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-25 09:15:46 +01:00

Fix some more unfortunate bugs. Yay tests.

This commit is contained in:
Kris Maglione
2011-02-03 10:20:17 -05:00
parent 440f4872b1
commit b2358eb152
3 changed files with 13 additions and 8 deletions

View File

@@ -917,6 +917,7 @@ Module.INIT = {
module = objs[i] = Object.create(module);
modules.jsmodules[this.constructor.className] = module;
util.dump(" ====================================== INIT " + this.constructor.className + " ====================================== ");
locals.reverse().forEach(function (fn, i) update(objs[i], fn.apply(module, args)))
module.instance = module;
module.init();