1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 00:02:27 +01:00

whitespace fixes and revert some overly aggressive use of expression closures

This commit is contained in:
Doug Kearns
2008-10-04 10:18:53 +00:00
parent 156fa5d56f
commit 6ef73cf313
16 changed files with 84 additions and 71 deletions

View File

@@ -174,11 +174,11 @@ liberator.Editor = function () //{{{
liberator.commands.add([ch ? ch + "una[bbrev]" : "una[bbreviate]"],
"Remove an abbreviation" + modeDescription,
function (args) liberator.editor.removeAbbreviation(mode, args));
function (args) { liberator.editor.removeAbbreviation(mode, args); });
liberator.commands.add([ch + "abc[lear]"],
"Remove all abbreviations" + modeDescription,
function () liberator.editor.removeAllAbbreviations(mode),
function () { liberator.editor.removeAllAbbreviations(mode); },
{ argCount: "0" });
}
@@ -290,7 +290,7 @@ liberator.Editor = function () //{{{
liberator.mappings.add([liberator.modes.INSERT],
["<Space>", "<Return>"], "Expand insert mode abbreviation",
function () { return liberator.editor.expandAbbreviation("i"); },
function () { liberator.editor.expandAbbreviation("i"); },
{ flags: liberator.Mappings.flags.ALLOW_EVENT_ROUTING });
liberator.mappings.add([liberator.modes.INSERT],