|
|
@ -448,7 +448,10 @@ export function set_attributes(element, prev, next, css_hash, skip_warning = fal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for (let symbol of Object.getOwnPropertySymbols(next)) {
|
|
|
|
for (let symbol of Object.getOwnPropertySymbols(next)) {
|
|
|
|
if (symbol.description === ATTACHMENT_KEY && (prev == undefined || !(symbol in prev))) {
|
|
|
|
if (
|
|
|
|
|
|
|
|
symbol.description === ATTACHMENT_KEY &&
|
|
|
|
|
|
|
|
(prev == undefined || !(symbol in prev) || prev[symbol] !== next[symbol])
|
|
|
|
|
|
|
|
) {
|
|
|
|
attach(element, () => next[symbol]);
|
|
|
|
attach(element, () => next[symbol]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|