mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
292 B
21 lines
292 B
7 years ago
|
<script>
|
||
|
function throwError() {
|
||
|
throw new Error('nope');
|
||
|
}
|
||
|
|
||
|
const createElement = throwError;
|
||
|
const createElement$ = throwError;
|
||
|
|
||
6 years ago
|
export let value = template() + template$();
|
||
7 years ago
|
|
||
|
function template() {
|
||
|
return 'a';
|
||
|
}
|
||
|
|
||
|
function template$() {
|
||
|
return 'b';
|
||
|
}
|
||
|
</script>
|
||
6 years ago
|
|
||
|
<p>{value}</p>
|