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

@@ -268,18 +268,20 @@ liberator.Options = function () //{{{
{
if (!args)
{
XML.prettyPrinting = false;
var str = <table/>
for (let [i, value] in Iterator(liberator.globalVariables))
{
let prefix = typeof value == "number" ? "#" :
typeof value == "function" ? "*" :
" ";
str.* += <tr>
<td style="width: 200px;">{i}</td>
<td>{prefix}{value}</td>
</tr>;
}
var str =
<table>
{
liberator.template.map2(liberator.globalVariables, function (i, value) {
let prefix = typeof value == "number" ? "#" :
typeof value == "function" ? "*" :
" ";
return <tr>
<td style="width: 200px;">{i}</td>
<td>{prefix}{value}</td>
</tr>
})
}
</table>;
if (str.*.length())
liberator.echo(str, liberator.commandline.FORCE_MULTILINE);
else