pull/3315/head
Conduitry 6 years ago
parent cf5dd8ff75
commit 60af0d7781

@ -0,0 +1,11 @@
<script>
import { writable } from 'svelte/store';
function fake_observable(store) {
return { subscribe: cb => ({ unsubscribe: store.subscribe(cb) }) };
}
let foo = fake_observable(writable(0));
foo = fake_observable(writable(42));
</script>
{$foo}
Loading…
Cancel
Save