js: Standardize indentation of switch/case statements.

This gets my current draft eslint indentation configuration passing
cleaning on static/js.
This commit is contained in:
Tim Abbott
2018-05-06 16:38:14 -07:00
parent d6db335f68
commit 063d11b139
14 changed files with 359 additions and 339 deletions

View File

@@ -137,9 +137,12 @@ exports.restore_draft = function (draft_id) {
if (draft.type === "stream") {
if (draft.stream !== "") {
narrow.activate([{operator: "stream", operand: draft.stream},
{operator: "topic", operand: draft.subject}],
{trigger: "restore draft"});
narrow.activate(
[
{operator: "stream", operand: draft.stream},
{operator: "topic", operand: draft.subject},
],
{trigger: "restore draft"});
}
} else {
if (draft.private_message_recipient !== "") {