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}
${set && `$$self.$$.set = ${set};`}
${set && `$$self.$set = ${set};`}
${component.reactive_declarations.length > 0 && deindent`
$$self.$$.update = ($$dirty = { ${Array.from(all_reactive_dependencies).map(n => `${n}: 1`).join(', ')} }) => {

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

Loading…
Cancel
Save