1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 07:48:00 +01:00

Simplify some things that were decidedly unsimple.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-05 04:22:05 -05:00
parent ba0b5bdd9e
commit dd583dba9c
2 changed files with 7 additions and 10 deletions

View File

@@ -633,7 +633,7 @@ var Mappings = Module("mappings", {
names: ["-group", "-g"],
description: "Mapping group to which to add this mapping",
type: ArgType("map-group", function (group) isString(group) ? contexts.getGroup(group, "mappings") : group),
get default() (contexts.context && contexts.context.group || contexts.user).subGroups.mappings,
get default() (contexts.context && contexts.context.group || contexts.user).mappings,
completer: function (context) completion.group(context)
};
let modeFlag = {