mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-11 10:15:46 +01:00
Run stylebot -- semicolons.
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user