cut out the middleman

pull/1925/head
Richard Harris 7 years ago
parent ef944b5713
commit 436fffb6bb

@ -300,7 +300,7 @@ export default function dom(
${reactive_store_subscriptions} ${reactive_store_subscriptions}
${set && `$$self.$$.set = ${set};`} ${set && `$$self.$set = ${set};`}
${component.reactive_declarations.length > 0 && deindent` ${component.reactive_declarations.length > 0 && deindent`
$$self.$$.update = ($$dirty = { ${Array.from(all_reactive_dependencies).map(n => `${n}: 1`).join(', ')} }) => { $$self.$$.update = ($$dirty = { ${Array.from(all_reactive_dependencies).map(n => `${n}: 1`).join(', ')} }) => {

@ -151,8 +151,8 @@ if (typeof HTMLElement !== 'undefined') {
}; };
} }
$set(values) { $set() {
this.$$.set(values); // overridden by instance, if it has props
} }
} }
} }
@ -173,8 +173,8 @@ export class SvelteComponent {
}; };
} }
$set(values) { $set() {
this.$$.set(values); // overridden by instance, if it has props
} }
} }

Loading…
Cancel
Save