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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user