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

Make some stuff nicer. Add heredoc support to :sty

This commit is contained in:
Kris Maglione
2008-10-04 00:00:25 +00:00
parent 267535d9c7
commit 40ff96452e
5 changed files with 27 additions and 41 deletions

View File

@@ -321,16 +321,7 @@ liberator.IO = function () //{{{
function ()
{
XML.prettyPrinting = false;
var list =
<table>
{
liberator.template.map2(scriptNames, function (i, name)
<tr>
<td style="text-align: right">{i+1}</td>
<td>{name}</td>
</tr>)
}
</table>.toXMLString();
var list = liberator.template.tabular(["Idx", "Filename"], ["text-align: right"], Iterator(scriptNames));
liberator.commandline.echo(list, liberator.commandline.HL_NORMAL, liberator.commandline.FORCE_MULTILINE);
},
{ argCount: "0" });