mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-16 19:25:46 +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;" }],
|
||||
|
||||
@@ -1294,7 +1294,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
b.name)),
|
||||
function ({ name, description })
|
||||
[["dt", {}, name],
|
||||
["dd", {}, template.linkifyHelp(description, true)]],
|
||||
["dd", {}, template_.linkifyHelp(description, true)]],
|
||||
"\n")]]);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user