mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-14 16:05:47 +01:00
Fix recently broken help system.
--HG-- branch : xslt
This commit is contained in:
@@ -1419,10 +1419,11 @@ const liberator = (function () //{{{
|
|||||||
|
|
||||||
tagMap.all = "all";
|
tagMap.all = "all";
|
||||||
let files = findHelpFile("all").map(function (doc)
|
let files = findHelpFile("all").map(function (doc)
|
||||||
util.evaluateXPath(
|
[f.value for (f in util.evaluateXPath(
|
||||||
"//liberator:include/@href", doc.responseXML));
|
"//liberator:include/@href", doc))]);
|
||||||
|
|
||||||
util.Array.flatten(files).map(function ({ value: file }) {
|
util.Array.flatten(files).map(function (file) {
|
||||||
|
liberator.dump("file:", file);
|
||||||
findHelpFile(file).forEach(function (doc) {
|
findHelpFile(file).forEach(function (doc) {
|
||||||
doc = XSLT.transformToDocument(doc);
|
doc = XSLT.transformToDocument(doc);
|
||||||
for (let elem in util.evaluateXPath("//liberator:tag/text()", doc))
|
for (let elem in util.evaluateXPath("//liberator:tag/text()", doc))
|
||||||
|
|||||||
Reference in New Issue
Block a user