1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 07:25:45 +01:00

Take groups into account for :style serialization and listing. Need utility functions for these things.

This commit is contained in:
Kris Maglione
2011-02-11 15:25:13 -05:00
parent a4257fe854
commit 92406a9cad
3 changed files with 94 additions and 43 deletions

View File

@@ -919,8 +919,10 @@ Module.INIT = {
if (locals.length) {
let module = this, objs = {};
for (let i in locals)
for (let i in locals) {
module = objs[i] = Object.create(module);
module.modules = modules;
}
module.isLocalModule = true;
modules.jsmodules[this.constructor.className] = module;