1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 00:44:13 +01:00

Fix duplicate plugin command listing in :command output.

This commit is contained in:
Doug Kearns
2011-06-30 00:15:30 +10:00
parent ab7ad88b21
commit dd35d3ada6

View File

@@ -673,7 +673,6 @@ var Commands = Module("commands", {
template.map(hives, function ([hive, cmds]) let (i = 0)
<tr style="height: .5ex;"/> +
template.map(cmds, function (cmd)
template.map(cmd.names, function (name)
<tr>
<td highlight="Title">{!i++ ? hive.name : ""}</td>
<td>{cmd.bang ? "!" : " "}</td>
@@ -682,7 +681,7 @@ var Commands = Module("commands", {
<td>{cmd.count ? "0c" : ""}</td>
<td>{completerToString(cmd.completer)}</td>
<td>{cmd.replacementText || "function () { ... }"}</td>
</tr>)) +
</tr>) +
<tr style="height: .5ex;"/>)
}
</table>;