1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-18 23:33:32 +02:00

fix :jumps command

This commit is contained in:
Doug Kearns
2008-10-17 03:14:45 +00:00
parent a40b6892fe
commit dba3870773

View File

@@ -1,4 +1,3 @@
const template = { const template = {
add: function (a, b) a + b, add: function (a, b) a + b,
join: function (c) function (a, b) a + c + b, join: function (c) function (a, b) a + c + b,
@@ -148,7 +147,7 @@ const template = {
<th colspan="2">jump</th><th>title</th><th>URI</th> <th colspan="2">jump</th><th>title</th><th>URI</th>
</tr> </tr>
{ {
this.map(elems, function (idx, val) this.map(Iterator(elems), function ([idx, val])
<tr> <tr>
<td class="indicator">{idx == index ? ">" : ""}</td> <td class="indicator">{idx == index ? ">" : ""}</td>
<td>{Math.abs(idx - index)}</td> <td>{Math.abs(idx - index)}</td>
@@ -235,3 +234,4 @@ const template = {
} }
}; };
// vim: set fdm=marker sw=4 ts=4 et: