1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 12:24:12 +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

@@ -332,7 +332,7 @@ var Marks = Module("marks", {
{ arg: true });
},
commands: function () {
commands: function initCommands() {
commands.add(["delm[arks]"],
"Delete the specified marks",
function (args) {
@@ -372,7 +372,7 @@ var Marks = Module("marks", {
});
},
completion: function () {
completion: function initCompletion() {
completion.mark = function mark(context) {
function percent(i) Math.round(i * 100);
@@ -383,7 +383,7 @@ var Marks = Module("marks", {
context.completions = marks.all;
};
},
sanitizer: function () {
sanitizer: function initSanitizer() {
sanitizer.addItem("marks", {
description: "Local and URL marks",
persistent: true,