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

Frob some fnords.

This commit is contained in:
Kris Maglione
2008-10-02 06:42:42 +00:00
parent 0a905986d9
commit 76b6c530b1
9 changed files with 187 additions and 176 deletions

View File

@@ -698,20 +698,20 @@ liberator.Commands = function () //{{{
if (cmdlist.length > 0)
{
XML.prettyPrinting = false;
var str = liberator.buffer.template.generic(
var str = liberator.template.generic(
<table>
<tr class="hl-Title" align="left">
<th>Name</th>
<th>Args</th>
<th>Definition</th>
</tr>
{[
{
liberator.template.map(cmdlist, function (cmd)
<tr>
<td>{cmd.name}</td>
<td>*</td>
<td>{cmd.replacementText || "function () { ... }"}</td>
</tr>
for each (cmd in cmdlist)].reduce(liberator.buffer.template.add, <></>)
</tr>)
}
</table>);
liberator.commandline.echo(str, liberator.commandline.HL_NORMAL, liberator.commandline.FORCE_MULTILINE);