- XML.ignoreWhitespace = XML.prettyPrinting = false;
- // <e4x>
- return <table>
- <tr style="text-align: left;" highlight="Title">
- <th colspan="2">{_("title.Jump")}</th>
- <th>{_("title.HPos")}</th>
- <th>{_("title.VPos")}</th>
- <th>{_("title.Title")}</th>
- <th>{_("title.URI")}</th>
- </tr>
- {
- this.map(Iterator(elems), function ([idx, val])
- <tr>
- <td class="indicator">{idx == index ? ">" : ""}</td>
- <td>{Math.abs(idx - index)}</td>
- <td>{val.offset ? val.offset.x : ""}</td>
- <td>{val.offset ? val.offset.y : ""}</td>
- <td style="width: 250px; max-width: 500px; overflow: hidden;">{val.title}</td>
- <td><a href={val.URI.spec} highlight="URL jump-list">{util.losslessDecodeURI(val.URI.spec)}</a></td>
- </tr>)
- }
- </table>;
- // </e4x>
+ return ["table", {},
+ ["tr", { style: "text-align: left;", highlight: "Title" },
+ ["th", { colspan: "2" }, _("title.Jump")],
+ ["th", {}, _("title.HPos")],
+ ["th", {}, _("title.VPos")],
+ ["th", {}, _("title.Title")],
+ ["th", {}, _("title.URI")]],
+ this.map(Iterator(elems), function ([idx, val])
+ ["tr", {},
+ ["td", { class: "indicator" }, idx == index ? ">" : ""],
+ ["td", {}, Math.abs(idx - index)],
+ ["td", {}, val.offset ? val.offset.x : ""],
+ ["td", {}, val.offset ? val.offset.y : ""],
+ ["td", { style: "width: 250px; max-width: 500px; overflow: hidden;" }, val.title],
+ ["td", {},
+ ["a", { href: val.URI.spec, highlight: "URL jump-list" },
+ util.losslessDecodeURI(val.URI.spec)]]])];