mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
eslint: Fix unicorn/no-this-assignment.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
a679ee12f3
commit
8d44cd78ec
@@ -117,11 +117,10 @@ function test_helper() {
|
||||
|
||||
function stub_message_list() {
|
||||
message_list.MessageList = function (opts) {
|
||||
const list = this;
|
||||
this.data = opts.data;
|
||||
this.view = {
|
||||
set_message_offset(offset) {
|
||||
list.view.offset = offset;
|
||||
this.offset = offset;
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user