1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-07 14:55:45 +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

@@ -88,7 +88,7 @@ var Addressbook = Module("addressbook", {
}
}, {
}, {
commands: function () {
commands: function initCommands() {
commands.add(["con[tact]"],
"Add an address book entry",
function (args) {
@@ -117,7 +117,7 @@ var Addressbook = Module("addressbook", {
function (args) { addressbook.list(args.string, args.bang); },
{ bang: true });
},
mappings: function () {
mappings: function initMappings() {
var myModes = config.mailModes;
mappings.add(myModes, ["a"],