mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 04:55:46 +01:00
Death to E4X and stuff.
This commit is contained in:
@@ -11,7 +11,7 @@ defineModule("dom", {
|
||||
|
||||
lazyRequire("highlight", ["highlight"]);
|
||||
lazyRequire("messages", ["_"]);
|
||||
lazyRequire("template", ["template", "template_"]);
|
||||
lazyRequire("template", ["template"]);
|
||||
|
||||
var XBL = Namespace("xbl", "http://www.mozilla.org/xbl");
|
||||
var XHTML = Namespace("html", "http://www.w3.org/1999/xhtml");
|
||||
@@ -579,7 +579,7 @@ var DOM = Class("DOM", {
|
||||
res.push(["span", { highlight: "HelpXML" },
|
||||
["span", { highlight: "HelpXMLTagStart" },
|
||||
"<", namespaced(elem), " ",
|
||||
template_.map(array.iterValues(elem.attributes),
|
||||
template.map(array.iterValues(elem.attributes),
|
||||
function (attr) [
|
||||
["span", { highlight: "HelpXMLAttribute" }, namespaced(attr)],
|
||||
["span", { highlight: "HelpXMLString" }, attr.value]
|
||||
@@ -603,7 +603,7 @@ var DOM = Class("DOM", {
|
||||
res.push({}.toString.call(elem));
|
||||
}
|
||||
}, this);
|
||||
res = template_.map(res, util.identity, ",");
|
||||
res = template.map(res, util.identity, ",");
|
||||
return color ? res : res.join("");
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user