1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 12:04:12 +01:00

Fix recently broken help system.

--HG--
branch : xslt
This commit is contained in:
Kris Maglione
2009-10-27 20:00:59 -04:00
parent 01c4f1b136
commit b88420108e

View File

@@ -1419,10 +1419,11 @@ const liberator = (function () //{{{
tagMap.all = "all";
let files = findHelpFile("all").map(function (doc)
util.evaluateXPath(
"//liberator:include/@href", doc.responseXML));
[f.value for (f in util.evaluateXPath(
"//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) {
doc = XSLT.transformToDocument(doc);
for (let elem in util.evaluateXPath("//liberator:tag/text()", doc))