mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:27:58 +01:00
Move completion indicators to CSS class. Provide current/default :sty/:hi CSS completions. Et cetera.
This commit is contained in:
@@ -488,7 +488,7 @@ const util = { //{{{
|
||||
return urls;
|
||||
},
|
||||
|
||||
xmlToDom: function (node, doc)
|
||||
xmlToDom: function (node, doc, nodes)
|
||||
{
|
||||
XML.prettyPrinting = false;
|
||||
switch (node.nodeKind())
|
||||
@@ -501,7 +501,9 @@ const util = { //{{{
|
||||
for each (let attr in node.@*)
|
||||
domnode.setAttribute(attr.name(), String(attr));
|
||||
for each (let child in node.*)
|
||||
domnode.appendChild(arguments.callee(child, doc));
|
||||
domnode.appendChild(arguments.callee(child, doc, nodes));
|
||||
if (nodes && node.@key)
|
||||
nodes[node.@key] = domnode;
|
||||
return domnode;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user