Move 'helpfile' definition to the Help module.

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

No files matched your search

+7
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");
}
});