summaryrefslogtreecommitdiff
path: root/common/content/mappings.js
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2010-12-30 21:54:28 +1100
committerDoug Kearns <dougkearns@gmail.com>2010-12-30 21:54:28 +1100
commit8e785245c10fd710be41b606670c9ca97b8b8e52 (patch)
tree9cd7988428b4162ffaefc57ed24295c80cd6433b /common/content/mappings.js
parent3c414d9ac9b39c19f6273e9ed78195ae14f37a82 (diff)
downloadpentadactyl-8e785245c10fd710be41b606670c9ca97b8b8e52.tar.gz
Miscellaneous semicolon, whitespace, and formatting fixes.
Diffstat (limited to 'common/content/mappings.js')
-rw-r--r--common/content/mappings.js10
1 files changed, 5 insertions, 5 deletions
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"]
+ })
]
});
}