1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-16 23:15:47 +01:00

whitespace/formatting fixes

This commit is contained in:
Doug Kearns
2008-11-28 13:01:20 +00:00
parent d25867e7b5
commit 5a3a35ea26
10 changed files with 30 additions and 26 deletions

View File

@@ -850,7 +850,7 @@ function Commands() //{{{
// Yeah, this is a bit scary. Perhaps I'll fix it when I'm
// awake.
options: util.Array.assocToObj(
util.map({argCount: "-nargs", bang: "-bang", count: "-count"},
util.map({ argCount: "-nargs", bang: "-bang", count: "-count" },
function ([k, v]) k in cmd && cmd[k] != "0" && [v, typeof cmd[k] == "boolean" ? null : cmd[k]])
.filter(util.identity)),
arguments: [cmd.name],