mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:17:59 +01:00
Fix ill-conceived and confusing naming issue.
This commit is contained in:
@@ -807,7 +807,6 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
'\n</overlay>'];
|
||||
|
||||
addTags("index", util.httpGet("dactyl://help-overlay/index").responseXML);
|
||||
addTags("index", util.httpGet("dactyl://help/index").responseXML);
|
||||
|
||||
this.helpInitialized = true;
|
||||
}
|
||||
|
||||
@@ -167,8 +167,9 @@ var RangeFinder = Module("rangefinder", {
|
||||
}, {
|
||||
}, {
|
||||
modes: function initModes(dactyl, modules, window) {
|
||||
initModes.require("commandline");
|
||||
|
||||
const { modes } = modules;
|
||||
initModes.superapply("commandline", arguments);
|
||||
|
||||
modes.addMode("FIND", {
|
||||
description: "Find mode, active when typing search input",
|
||||
|
||||
@@ -246,8 +246,7 @@ var Overlay = Module("Overlay", {
|
||||
callee.frobbed = true;
|
||||
};
|
||||
|
||||
if (name !== "init" && name !== "load")
|
||||
INIT[name].superapply = function (name) { init[name](); };
|
||||
INIT[name].require = function (name) { init[name](); };
|
||||
}
|
||||
|
||||
function frobModules() {
|
||||
|
||||
Reference in New Issue
Block a user