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:
@@ -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" });
|
||||
|
||||
Reference in New Issue
Block a user