Declaring variable `dirty`.

Fixes https://github.com/sveltejs/svelte/issues/1415
pull/1416/head
Brian Takita 6 years ago
parent 7ad374d8c2
commit a8d3e93269

@ -61,6 +61,7 @@ assign(Store.prototype, {
});
const dependents = this._dependents.slice(); // guard against mutations
let dirty;
for (let i = 0; i < dependents.length; i += 1) {
const dependent = dependents[i];
const componentState = {};

Loading…
Cancel
Save