1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 03:38:00 +01:00

Add machinery to allow app-specific help files.

--HG--
branch : xslt
This commit is contained in:
Kris Maglione
2009-10-24 16:49:21 -04:00
parent 8b222085ec
commit 2c1f7316a6
3 changed files with 43 additions and 10 deletions

View File

@@ -1724,6 +1724,7 @@ const liberator = (function () //{{{
let start = Date.now();
liberator.log("Initializing liberator object...", 0);
services.get("liberator:").helpNamespaces = [config.name.toLowerCase(), "liberator"];
services.get("liberator:").helpFiles = config.helpFiles.map(function (f) f.replace(/\..*/, ""));
config.features.push(getPlatformFeature());