1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 10:17:59 +01:00

Fix user :commands and other minor cleanup.

--HG--
extra : rebase_source : 1cff53f18c70b12a984d120e73d121dc2267dcc9
This commit is contained in:
Kris Maglione
2010-12-31 12:40:44 -05:00
parent 4eb8682f28
commit c6f5b04cda
5 changed files with 13 additions and 11 deletions

View File

@@ -322,7 +322,7 @@ var Command = Class("Command", {
if (callable(params))
function makeParams(self, args)
array.toObject([[k, process(v)]
for ([k, v] in iter(params.apply(this, args)))])
for ([k, v] in iter(params.apply(self, args)))])
else if (params)
function makeParams(self, args)
array.toObject([[name, process(args[i])]