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

Bunch-o-fixes, plus some non-trivial changes that I may wind up weeding out.

This commit is contained in:
Kris Maglione
2008-10-04 04:08:03 +00:00
parent 3ceecbaf52
commit 1891746b9e
15 changed files with 144 additions and 93 deletions

View File

@@ -45,6 +45,7 @@ const liberator = (function () //{{{
}
catch (e)
{
Components.utils.reportError(e);
liberator.dump(e + "\n");
}
}
@@ -281,7 +282,6 @@ const liberator = (function () //{{{
else
{
// TODO: clicking on these should open the help
XML.prettyPrinting = false;
var usage = <table>
{
liberator.template.map(liberator.commands, function (command)
@@ -290,7 +290,7 @@ const liberator = (function () //{{{
<td>{command.description}</td>
</tr>)
}
</table>.toXMLString();
</table>;
liberator.echo(usage, liberator.commandline.FORCE_MULTILINE);
}
},
@@ -425,7 +425,6 @@ const liberator = (function () //{{{
<tr><td>  Average time:</td><td align="right"><span style="color: green">{each.toFixed(2)}</span></td><td>{eachUnits}</td></tr>
<tr><td>  Total time:</td><td align="right"><span style="color: red">{total.toFixed(2)}</span></td><td>{totalUnits}</td></tr>
</table>);
liberator.commandline.echo(str, liberator.commandline.HL_NORMAL, liberator.commandline.FORCE_MULTILINE);
}
else
@@ -486,7 +485,6 @@ const liberator = (function () //{{{
else
{
// TODO: clicking on these should open the help
XML.prettyPrinting = false;
var usage = <table>
{
liberator.template.add(liberator.mappings, function (mapping)
@@ -495,8 +493,7 @@ const liberator = (function () //{{{
<td>{mapping.description}</td>
</tr>)
}
</table>.toXMLString();
</table>;
liberator.echo(usage, liberator.commandline.FORCE_MULTILINE);
}
},