From 8e785245c10fd710be41b606670c9ca97b8b8e52 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 30 Dec 2010 21:54:28 +1100 Subject: Miscellaneous semicolon, whitespace, and formatting fixes. --- common/content/mappings.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'common/content/mappings.js') diff --git a/common/content/mappings.js b/common/content/mappings.js index 606f337d..7480f739 100644 --- a/common/content/mappings.js +++ b/common/content/mappings.js @@ -178,7 +178,7 @@ var Mappings = Module("mappings", { modes = modes.slice(); return (map for ([i, map] in Iterator(stack[modes.shift()].sort(function (m1, m2) String.localeCompare(m1.name, m2.name)))) if (map.rhs && modes.every(function (mode) stack[mode]. - some(function (m) m.rhs && m.rhs === map.rhs && m.name === map.name)))) + some(function (m) m.rhs && m.rhs === map.rhs && m.name === map.name)))); }, iterate: function (mode) { @@ -475,8 +475,8 @@ var Mappings = Module("mappings", { names: ["-modes", "-mode", "-m"], type: CommandOption.LIST, description: "Remove all mappings from the given modes", - default: mapmodes || ["n", "v"], - }), + default: mapmodes || ["n", "v"] + }) ] }); @@ -502,8 +502,8 @@ var Mappings = Module("mappings", { names: ["-modes", "-mode", "-m"], type: CommandOption.LIST, description: "Remove mapping from the given modes", - default: mapmodes || ["n", "v"], - }), + default: mapmodes || ["n", "v"] + }) ] }); } -- cgit v1.2.3