1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 16:44:11 +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

@@ -118,7 +118,7 @@ var QuickMarks = Module("quickmarks", {
}
}, {
}, {
commands: function () {
commands: function initCommands() {
commands.add(["delqm[arks]"],
"Delete the specified QuickMarks",
function (args) {
@@ -175,13 +175,13 @@ var QuickMarks = Module("quickmarks", {
completer: function (context) completion.quickmark(context),
});
},
completion: function () {
completion: function initCompletion() {
completion.quickmark = function (context) {
context.title = ["QuickMark", "URL"];
context.generate = function () Iterator(quickmarks._qmarks);
};
},
mappings: function () {
mappings: function initMappings() {
var myModes = config.browserModes;
mappings.add(myModes,