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

Also groupify commands. Usage examples are in official plugins.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-06 22:26:25 -05:00
parent 2a99de96a0
commit 83d86f7f02
6 changed files with 253 additions and 204 deletions

View File

@@ -612,7 +612,7 @@ var IO = Module("io", {
"E189: " + file.path.quote() + " exists (add ! to override)");
// TODO: Use a set/specifiable list here:
let lines = [cmd.serialize().map(commands.commandToString, cmd) for (cmd in commands.iterator()) if (cmd.serialize)];
let lines = [cmd.serialize().map(commands.commandToString, cmd) for (cmd in commands.iterator(true)) if (cmd.serialize)];
lines = array.flatten(lines);
lines.unshift('"' + config.version + "\n");