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) {
|
_nextEvent(type) {
|
||||||
const queue = this._queuesPerType.get(type);
|
let queue = this._queuesPerType.get(type);
|
||||||
if (!queue) {
|
if (!queue) {
|
||||||
queue = [];
|
queue = [];
|
||||||
this._queuesPerType.set(type, queue);
|
this._queuesPerType.set(type, queue);
|
||||||
|
@ -55,7 +55,7 @@ export class ListObserver {
|
||||||
return queue?.unshift();
|
return queue?.unshift();
|
||||||
}
|
}
|
||||||
|
|
||||||
onReset(list) {
|
onReset() {
|
||||||
const resolve = this._popQueue("reset");
|
const resolve = this._popQueue("reset");
|
||||||
resolve && resolve();
|
resolve && resolve();
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue