js: Remove inner spacing from object literals.

We’re configuring Prettier with bracketSpacing: false.  Generated by
ESLint.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-16 13:40:18 -07:00
committed by Tim Abbott
parent a20c12366f
commit 883e2fd325
100 changed files with 491 additions and 490 deletions

View File

@@ -122,7 +122,7 @@ exports.MessageList.prototype = {
},
clear: function MessageList_clear(opts) {
opts = { clear_selected_id: true, ...opts };
opts = {clear_selected_id: true, ...opts};
this.data.clear();
this.view.clear_rendering_state(true);
@@ -290,7 +290,7 @@ exports.MessageList.prototype = {
},
append_to_view: function (messages, opts) {
opts = { messages_are_new: false, ...opts };
opts = {messages_are_new: false, ...opts};
this.num_appends += 1;
const render_info = this.view.append(messages, opts.messages_are_new);