mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-24 16:33:31 +01:00
Death to E4X and stuff.
This commit is contained in:
@@ -111,7 +111,7 @@ var AutoCommands = Module("autocommands", {
|
||||
["tr", {},
|
||||
["td", { colspan: "3" },
|
||||
["span", { highlight: "Title" }, hive.name],
|
||||
" ", /* E4X-FIXME: Filter is formatted E4X. */ String(hive.filter)]],
|
||||
" ", hive.filter.toJSONXML(modules)]],
|
||||
["tr", { style: "height: .5ex;" }],
|
||||
iter(cmds(hive)).map(function ([event, items]) [
|
||||
["tr", { style: "height: .5ex;" }],
|
||||
@@ -119,8 +119,7 @@ var AutoCommands = Module("autocommands", {
|
||||
["tr", {},
|
||||
["td", { highlight: "Title", style: "padding-left: 1em; padding-right: 1em;" },
|
||||
i == 0 ? event : ""],
|
||||
// E4X-FIXME: ["td", {}, item.filter.toXML ? item.filter.toXML() : String(item.filter)],
|
||||
["td", {}, String(item.filter)],
|
||||
["td", {}, item.filter.toJSONXML ? item.filter.toJSONXML(modules) : String(item.filter)],
|
||||
["td", {}, String(item.command)]]),
|
||||
["tr", { style: "height: .5ex;" }]]).toArray(),
|
||||
["tr", { style: "height: .5ex;" }],
|
||||
|
||||
Reference in New Issue
Block a user