Use special blank_object() for component.$$.dirty

pull/2696/head
PaulMaly 6 years ago committed by GitHub
parent 90556e97c6
commit 21a5169845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,7 +48,7 @@ function make_dirty(component, key) {
if (!component.$$.dirty) { if (!component.$$.dirty) {
dirty_components.push(component); dirty_components.push(component);
schedule_update(); schedule_update();
component.$$.dirty = Object.create(null); component.$$.dirty = blank_object();
} }
component.$$.dirty[key] = true; component.$$.dirty[key] = true;
} }

Loading…
Cancel
Save