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

@@ -175,7 +175,7 @@ var History = Module("history", {
}
}, {
}, {
commands: function () {
commands: function initCommands() {
commands.add(["ba[ck]"],
"Go back in the browser history",
function (args) {
@@ -321,7 +321,7 @@ var History = Module("history", {
{ argCount: "0" });
},
completion: function () {
completion: function initCompletion() {
completion.domain = function (context) {
context.anchored = false;
context.compare = function (a, b) String.localeCompare(a.key, b.key);
@@ -351,7 +351,7 @@ var History = Module("history", {
completion.addUrlCompleter("history", "History", completion.history);
},
mappings: function () {
mappings: function initMappings() {
function bind() mappings.add.apply(mappings, [config.browserModes].concat(Array.slice(arguments)));
bind(["<C-o>"], "Go to an older position in the jump list",