mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-31 10:35:45 +01:00
Produce a tag map in dactyl.exportHelp.
This commit is contained in:
@@ -682,6 +682,8 @@ const Dactyl = Module("dactyl", {
|
||||
.join("\n");
|
||||
addDataEntry("help.css", data.replace(/chrome:[^ ")]+\//g, ""));
|
||||
|
||||
addDataEntry("tag-map.json", JSON.stringify(services["dactyl:"].HELP_TAGS));
|
||||
|
||||
let m, re = /(chrome:[^ ");]+\/)([^ ");]+)/g;
|
||||
while ((m = re.exec(data)))
|
||||
chrome[m[0]] = m[2];
|
||||
|
||||
Reference in New Issue
Block a user