1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 05:05:47 +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

@@ -357,7 +357,7 @@ var Addons = Module("addons", {
.toObject())
}, {
}, {
commands: function (dactyl, modules, window) {
commands: function initCommands(dactyl, modules, window) {
const { CommandOption, commands, completion, io } = modules;
commands.add(["addo[ns]", "ao"],
@@ -458,7 +458,7 @@ var Addons = Module("addons", {
});
});
},
completion: function (dactyl, modules, window) {
completion: function initCompletion(dactyl, modules, window) {
completion.addonType = function addonType(context) {
let base = ["extension", "theme"];
function update(types) {