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:
@@ -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
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user