Skip to content

Commit 6defc5b

Browse files
authored
Merge pull request #2696 from PaulMaly/patch-1
Make component.$$.dirty just a dictionary
2 parents db96b6b + 21a5169 commit 6defc5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/internal/Component.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function make_dirty(component, key) {
4848
if (!component.$$.dirty) {
4949
dirty_components.push(component);
5050
schedule_update();
51-
component.$$.dirty = {};
51+
component.$$.dirty = blank_object();
5252
}
5353
component.$$.dirty[key] = true;
5454
}
@@ -188,4 +188,4 @@ export class SvelteComponentDev extends SvelteComponent {
188188
console.warn(`Component was already destroyed`); // eslint-disable-line no-console
189189
};
190190
}
191-
}
191+
}

0 commit comments

Comments
 (0)