mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
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:
committed by
Tim Abbott
parent
a20c12366f
commit
883e2fd325
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user