1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-15 22:55:46 +01:00

Replace expression closures (command/option/mapping definitions).

Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
Doug Kearns
2015-07-23 01:15:41 +10:00
parent 85eede1ee2
commit 779752d776
33 changed files with 518 additions and 339 deletions

View File

@@ -349,10 +349,9 @@ var Marks = Module("marks", {
dactyl.assert(!special || !arg, _("error.invalidArgument"));
marks.remove(arg, special);
},
{
}, {
bang: true,
completer: function (context) completion.mark(context),
completer: function (context) { completion.mark(context); },
literal: 0
});
@@ -372,7 +371,7 @@ var Marks = Module("marks", {
function (args) {
marks.list(args[0] || "");
}, {
completer: function (context) completion.mark(context),
completer: function (context) { completion.mark(context); },
literal: 0
});
},