Merge pull request #2696 from PaulMaly/patch-1

Make component.$$.dirty just a dictionary
pull/2726/head
Rich Harris 6 years ago committed by GitHub
commit 6defc5b73f
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 = {}; component.$$.dirty = blank_object();
} }
component.$$.dirty[key] = true; component.$$.dirty[key] = true;
} }

Loading…
Cancel
Save