summaryrefslogtreecommitdiff
path: root/common/content/history.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/history.js')
-rw-r--r--common/content/history.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/content/history.js b/common/content/history.js
index 94985d26..fa6bf848 100644
--- a/common/content/history.js
+++ b/common/content/history.js
@@ -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",