1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-20 00:35:49 +01:00

Change the signature of :group. Remove the now useless :mapgroup alias.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-06 11:42:33 -05:00
parent 4a43477980
commit 0b02483ff1
2 changed files with 33 additions and 27 deletions

View File

@@ -279,6 +279,8 @@ var Command = Class("Command", {
explicitOpts: Class.memoize(function () ({})),
has: function (opt) set.has(this.explicitOpts, opt) || typeof opt === "number" && set.has(this, opt),
get literalArg() this.command.literal != null && this[this.command.literal] || "",
// TODO: string: Class.memoize(function () { ... }),