1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 13:34:13 +01:00

imported patch groups

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-05 03:02:36 -05:00
parent e9fd99dafa
commit 9b3ad1c7c6
16 changed files with 468 additions and 344 deletions

View File

@@ -156,7 +156,7 @@ var AutoCommands = Module("autocommands", {
if (args.length > 2) { // add new command, possibly removing all others with the same event/pattern
if (args.bang)
autocommands.remove(event, regexp);
cmd = Command.bindMacro(args, "-ex", function (params) params);
cmd = contexts.bindMacro(args, "-ex", function (params) params);
autocommands.add(events, regexp, cmd);
}
else {
@@ -245,7 +245,7 @@ var AutoCommands = Module("autocommands", {
};
},
javascript: function () {
JavaScript.setCompleter(this.get, [function () Iterator(config.autocommands)]);
JavaScript.setCompleter(autocommands.get, [function () Iterator(config.autocommands)]);
},
options: function () {
options.add(["eventignore", "ei"],