1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 01:55:46 +01:00

Add missing semicolons.

This commit is contained in:
Doug Kearns
2015-05-25 23:54:56 +10:00
parent 72a4d80ad1
commit 5ab1befbf7
35 changed files with 82 additions and 84 deletions

View File

@@ -63,7 +63,7 @@ var AutoCmdHive = Class("AutoCmdHive", Contexts.Hive, {
remove: function (event, filter) {
filter = filter && String(Group.compileFilter(filter));
this._store = this._store.filter(cmd => !cmd.match(event, filter));
},
}
});
/**

View File

@@ -646,7 +646,7 @@ var Bookmarks = Module("bookmarks", {
options.add(["suggestengines"],
"Search engines used for search suggestions",
"stringlist", "google",
{ completer: function completer(context) completion.searchEngine(context, true), });
{ completer: function completer(context) completion.searchEngine(context, true) });
},
completion: function initCompletion() {

View File

@@ -198,7 +198,7 @@ var Browser = Module("browser", XPCOM(Ci.nsISupportsWeakReference, ModuleBase),
onLocationChange: util.wrapCallback(function onLocationChange(browser) {
Buffer(browser.contentWindow).locationChanged();
}),
})
}
}, {
}, {

View File

@@ -47,7 +47,7 @@ var CommandWidgets = Class("CommandWidgets", {
["hbox", { id: s + "commandline", hidden: "false", class: "dactyl-container", highlight: "Normal StatusNormal", collapsed: "true" },
["label", { id: s + "commandline-prompt", class: "dactyl-commandline-prompt plain", flex: "0", crop: "end", value: "", collapsed: "true" }],
["textbox", { id: s + "commandline-command", class: "dactyl-commandline-command plain", flex: "1", type: "text", timeout: "100",
highlight: "Events", }]]]],
highlight: "Events" }]]]],
before: [
["toolbar", { id: statusline.statusBar.id, xmlns: "xul" },
@@ -446,7 +446,7 @@ var CommandMode = Class("CommandMode", {
this.completions.clear();
if (this.history)
this.history.reset();
},
}
});
var CommandExMode = Class("CommandExMode", CommandMode, {
@@ -783,7 +783,7 @@ var CommandLine = Module("commandline", {
message.message;
this._messageHistory.add(update({ highlight: highlightGroup }, message));
return message.message;
}
};
if (flags & this.APPEND_TO_MESSAGES)
data = appendToMessages(data);

View File

@@ -1647,7 +1647,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
if (args["+purgecaches"])
cache.flush();
util.delay(() => { util.rehash(args) });
util.delay(() => { util.rehash(args); });
},
{
argCount: "0", // FIXME

View File

@@ -804,7 +804,7 @@ var Editor = Module("editor", XPCOM(Ci.nsIEditActionListener, ModuleBase), {
this.editor.endTransaction();
this.editor = null;
}
},
}
};
Map.types["operator"] = {
preExecute: function preExecute(args) {

View File

@@ -741,7 +741,7 @@ var HintSession = Class("HintSession", CommandMode, {
updateStatusline: function _updateStatusline() {
statusline.inputBuffer = (this.escapeNumbers ? "\\" : "") +
(this.hintNumber ? this.getHintString(this.hintNumber) : "");
},
}
});
var Hints = Module("hints", {

View File

@@ -286,7 +286,7 @@ var Marks = Module("marks", {
return;
}
}
},
}
}, {
markToString: function markToString(name, mark) {
let tab = mark.tab && mark.tab.get();

View File

@@ -350,7 +350,7 @@ var Modes = Module("modes", {
if (stack && stack.pop)
for (let { obj, prop, value, test } of values(this.topOfStack.saved))
if (!test || !test(stack, prev))
dactyl.trapErrors(function () { obj[prop] = value });
dactyl.trapErrors(function () { obj[prop] = value; });
this.show();

View File

@@ -172,7 +172,7 @@ var QuickMarks = Module("quickmarks", {
quickmarks.list(args[0] || "");
}, {
argCount: "?",
completer: function (context) completion.quickmark(context),
completer: function (context) completion.quickmark(context)
});
},
completion: function initCompletion() {