1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 12:22:27 +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

@@ -276,12 +276,12 @@ const liberator = (function () //{{{
// TODO: clicking on these should open the help
XML.prettyPrinting = false;
var usage = <table>
{[
{
liberator.template.map(liberator.commands, function (command)
<tr>
<td class="hl-Title" style="padding-right: 20px">{command.name}</td>
<td>{command.description}</td>
</tr>
for each (command in liberator.commands)].reduce(liberator.buffer.template.add)
</tr>)
}
</table>.toXMLString();
liberator.echo(usage, liberator.commandline.FORCE_MULTILINE);
@@ -428,8 +428,7 @@ const liberator = (function () //{{{
var totalUnits = "msec";
}
XML.prettyPrinting = false;
var str = liberator.buffer.template.generic(
var str = liberator.template.generic(
<table>
<tr class="hl-Title" align="left">
<th colspan="3">Code execution summary</th>
@@ -501,12 +500,12 @@ const liberator = (function () //{{{
// TODO: clicking on these should open the help
XML.prettyPrinting = false;
var usage = <table>
{[
{
liberator.template.add(liberator.mappings, function (mapping)
<tr>
<td class="hl-Title" style="padding-right: 20px"> {mapping.names[0]}</td>
<td>{mapping.description}</td>
</tr>
for each (mapping in liberator.mappings)].reduce(liberator.buffer.template.add)
</tr>)
}
</table>.toXMLString();