|
|
@ -25,7 +25,6 @@ import {
|
|
|
|
import { source, mutable_source, set } from '../../reactivity/sources.js';
|
|
|
|
import { source, mutable_source, set } from '../../reactivity/sources.js';
|
|
|
|
import { is_array, is_frozen } from '../../utils.js';
|
|
|
|
import { is_array, is_frozen } from '../../utils.js';
|
|
|
|
import { INERT, STATE_SYMBOL } from '../../constants.js';
|
|
|
|
import { INERT, STATE_SYMBOL } from '../../constants.js';
|
|
|
|
import { push_template_node } from '../template.js';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* The row of a keyed each block that is currently updating. We track this
|
|
|
|
* The row of a keyed each block that is currently updating. We track this
|
|
|
@ -407,7 +406,7 @@ function reconcile(array, state, anchor, render_fn, flags, get_key) {
|
|
|
|
for (var i = 0; i < to_destroy.length; i += 1) {
|
|
|
|
for (var i = 0; i < to_destroy.length; i += 1) {
|
|
|
|
var item = to_destroy[i];
|
|
|
|
var item = to_destroy[i];
|
|
|
|
items.delete(item.k);
|
|
|
|
items.delete(item.k);
|
|
|
|
remove(item.o);
|
|
|
|
item.o.remove();
|
|
|
|
link(item.prev, item.next);
|
|
|
|
link(item.prev, item.next);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|