forked from mystiq/hydrogen-web
fix lint
This commit is contained in:
parent
11fba12083
commit
1fc1d2c79b
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ export class ListObserver {
|
|||
}
|
||||
|
||||
_nextEvent(type) {
|
||||
const queue = this._queuesPerType.get(type);
|
||||
let queue = this._queuesPerType.get(type);
|
||||
if (!queue) {
|
||||
queue = [];
|
||||
this._queuesPerType.set(type, queue);
|
||||
|
@ -55,7 +55,7 @@ export class ListObserver {
|
|||
return queue?.unshift();
|
||||
}
|
||||
|
||||
onReset(list) {
|
||||
onReset() {
|
||||
const resolve = this._popQueue("reset");
|
||||
resolve && resolve();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue