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:
@@ -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*.
|
||||
|
||||
Reference in New Issue
Block a user