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

Run stylebot -- semicolons.

This commit is contained in:
Doug Kearns
2011-02-01 01:06:49 +11:00
parent cf79af7148
commit 37d62cdeba
17 changed files with 44 additions and 48 deletions

View File

@@ -435,21 +435,21 @@ Controller.prototype = {
/**
* Opens the output message window by echoing a single newline character.
*/
openMessageWindow: wrapAssertNoErrors(function() {
openMessageWindow: wrapAssertNoErrors(function () {
this.dactyl.dactyl.echo("\n");
}, "Opening message window"),
/**
* Clears the current message.
*/
clearMessage: function() {
clearMessage: function () {
this.elements.message.value = ""; // XXX
},
/**
* Closes the output message window if open.
*/
closeMessageWindow: wrapAssertNoErrors(function() {
closeMessageWindow: wrapAssertNoErrors(function () {
for (let i = 0; i < 15 && !this.elements.multilineContainer.collapsed; i++)
this.controller.keypress(null, "VK_ESCAPE", {});
this.assertMessageWindowOpen(false, "Clearing message window failed");

View File

@@ -32,14 +32,14 @@ for (var [k, v] in Iterator({
assert: function (funcName, value, comment)
test(value, {
function: funcName,
function: funcName,
value: toJSON(value),
comment: toJSON(comment)
}),
assertEqual: function (funcName, want, got, comment)
test(want == got, {
function: funcName,
function: funcName,
want: toJSON(want), got: toJSON(got),
comment: toJSON(comment)
})