mirror of https://github.com/sveltejs/svelte
Merge pull request #2331 from lunchboxer/master
reverse readable stores arg order in tutorial, fixes #2330pull/2341/head
commit
edd92cf8ea
@ -1,9 +1,7 @@
|
||||
import { readable } from 'svelte/store';
|
||||
|
||||
export const time = readable(function start(set) {
|
||||
export const time = readable(null, function start(set) {
|
||||
// implementation goes here
|
||||
|
||||
return function stop() {
|
||||
|
||||
};
|
||||
});
|
||||
return function stop() {};
|
||||
});
|
||||
|
Loading…
Reference in new issue