1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-12 09:35:48 +01:00

Normalise naming of module initializer functions.

This commit is contained in:
Doug Kearns
2012-10-11 01:08:36 +11:00
parent 50597cc80a
commit 53f3ea342c
22 changed files with 84 additions and 84 deletions

View File

@@ -261,7 +261,7 @@ var RangeFinder = Module("rangefinder", {
get onSubmit() modules.rangefinder.closure.onSubmit
});
},
mappings: function (dactyl, modules, window) {
mappings: function initMappings(dactyl, modules, window) {
const { Buffer, buffer, config, mappings, modes, rangefinder } = modules;
var myModes = config.browserModes.concat([modes.CARET]);
@@ -296,7 +296,7 @@ var RangeFinder = Module("rangefinder", {
});
},
options: function (dactyl, modules, window) {
options: function initOptions(dactyl, modules, window) {
const { options, rangefinder } = modules;
options.add(["hlfind", "hlf"],