1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 11:24:11 +01:00

Don't duplicate group properties in subgroups.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-05 05:22:05 -05:00
parent 020ad98197
commit 4d7794d888
2 changed files with 5 additions and 9 deletions

View File

@@ -138,16 +138,14 @@ var Map = Class("Map", {
});
var MapHive = Class("MapHive", {
init: function init(name, description, filter) {
this.name = name;
init: function init(group) {
this.group = group;
this.stacks = {};
this.description = description;
this.filter = filter || function (uri) true;
},
get toStringParams() [this.name],
get toStringParams() [this.group.name],
get builtin() mappings.builtinHives.indexOf(this) >= 0,
get builtin() this.group.builtin,
/**
* Iterates over all mappings present in all of the given *modes*.