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

Move 'helpfile' definition to the Help module.

This commit is contained in:
Doug Kearns
2013-09-05 22:29:04 +10:00
parent 48209c3642
commit a1a1b03e64
2 changed files with 7 additions and 4 deletions

View File

@@ -445,6 +445,13 @@ var Help = Module("Help", {
javascript: function initJavascript(dactyl, modules, window) {
modules.JavaScript.setCompleter([modules.help.exportHelp],
[function (context, args) overlay.activeModules.completion.file(context)]);
},
options: function initOptions(dactyl, modules, window) {
const { options } = modules;
options.add(["helpfile", "hf"],
"Name of the main help file",
"string", "intro");
}
});