mirror of https://github.com/sveltejs/svelte
commit
143117054a
@ -1,9 +1,7 @@
|
|||||||
import { readable } from 'svelte/store';
|
import { readable } from 'svelte/store';
|
||||||
|
|
||||||
export const time = readable(function start(set) {
|
export const time = readable(null, function start(set) {
|
||||||
// implementation goes here
|
// implementation goes here
|
||||||
|
|
||||||
return function stop() {
|
return function stop() {};
|
||||||
|
|
||||||
};
|
|
||||||
});
|
});
|
@ -0,0 +1,6 @@
|
|||||||
|
export default {
|
||||||
|
preprocess: {
|
||||||
|
script: () => ({ code: '' }),
|
||||||
|
style: () => ({ code: '' })
|
||||||
|
}
|
||||||
|
};
|
@ -0,0 +1,12 @@
|
|||||||
|
<script-foo>
|
||||||
|
foo
|
||||||
|
</script-foo>
|
||||||
|
<script>
|
||||||
|
// bar
|
||||||
|
</script>
|
||||||
|
<style-foo>
|
||||||
|
foo
|
||||||
|
</style-foo>
|
||||||
|
<style>
|
||||||
|
bar {}
|
||||||
|
</style>
|
@ -0,0 +1,8 @@
|
|||||||
|
<script-foo>
|
||||||
|
foo
|
||||||
|
</script-foo>
|
||||||
|
<script></script>
|
||||||
|
<style-foo>
|
||||||
|
foo
|
||||||
|
</style-foo>
|
||||||
|
<style></style>
|
Loading…
Reference in new issue