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.
27 lines
339 B
27 lines
339 B
7 years ago
|
<p>{{value}}</p>
|
||
|
|
||
|
<script>
|
||
|
function throwError() {
|
||
|
throw new Error('nope');
|
||
|
}
|
||
|
|
||
|
const createElement = throwError;
|
||
|
const createElement$ = throwError;
|
||
|
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
value: template() + template$()
|
||
|
};
|
||
|
}
|
||
|
};
|
||
|
|
||
|
function template() {
|
||
|
return 'a';
|
||
|
}
|
||
|
|
||
|
function template$() {
|
||
|
return 'b';
|
||
|
}
|
||
|
</script>
|