mirror of https://github.com/sveltejs/svelte
parent
2d5b47b8a4
commit
39ad124c99
@ -1,5 +1,5 @@
|
||||
<html lang="en"></html>
|
||||
<html lang="en-US"></html>
|
||||
<html lang={{language}}></html>
|
||||
<html lang={language}></html>
|
||||
|
||||
<html></html>
|
||||
|
@ -1 +1 @@
|
||||
<iframe src='{{src}}'></iframe>
|
||||
<iframe src='{src}'></iframe>
|
@ -1,4 +1,4 @@
|
||||
<div tabindex='-1'/>
|
||||
<div tabindex='0'/>
|
||||
<div tabindex='1'/>
|
||||
<div tabindex='{{foo}}'/>
|
||||
<div tabindex='{foo}'/>
|
@ -1 +1 @@
|
||||
<input bind:value='foo' type='{{inputType}}'>
|
||||
<input bind:value='foo' type='{inputType}'>
|
@ -1,4 +1,4 @@
|
||||
<select bind:value :multiple>
|
||||
<select bind:value {multiple}>
|
||||
<option>1</option>
|
||||
<option>2</option>
|
||||
<option>3</option>
|
||||
|
@ -1,3 +1,3 @@
|
||||
<Nested>
|
||||
<button slot='{{foo}}'>click me</button>
|
||||
<button slot='{foo}'>click me</button>
|
||||
</Nested>
|
@ -1 +1 @@
|
||||
<slot name='{{foo}}'></slot>
|
||||
<slot name='{foo}'></slot>
|
@ -1,3 +1,3 @@
|
||||
{{#each things as thing}}
|
||||
{#each things as thing}
|
||||
<slot name='foo'></slot>
|
||||
{{/each}}
|
||||
{/each}
|
@ -1,3 +1,3 @@
|
||||
{{#each cases as [case]}}
|
||||
{{case.title}}
|
||||
{{/each}}
|
||||
{#each cases as [case]}
|
||||
{case.title}
|
||||
{/each}
|
@ -1,3 +1,3 @@
|
||||
{{#each cases as case}}
|
||||
{{case.title}}
|
||||
{{/each}}
|
||||
{#each cases as case}
|
||||
{case.title}
|
||||
{/each}
|
@ -1,10 +1,10 @@
|
||||
{{#each things as thing}}
|
||||
{#each things as thing}
|
||||
<span>this only exists...</span>
|
||||
<span>...to increase test coverage</span>
|
||||
{{/each}}
|
||||
{/each}
|
||||
|
||||
{{#each things as thing}}{{soDoesThis}}{{/each}}
|
||||
{#each things as thing}{soDoesThis}{/each}
|
||||
|
||||
{{#each things as thing}}
|
||||
{#each things as thing}
|
||||
andThis
|
||||
{{/each}}
|
||||
{/each}
|
@ -1,5 +1,5 @@
|
||||
{{#each things as thing}}
|
||||
{#each things as thing}
|
||||
|
||||
{{/each}}
|
||||
{/each}
|
||||
|
||||
{{#each things as thing}}{{/each}}
|
||||
{#each things as thing}{/each}
|
@ -1,5 +1,5 @@
|
||||
{{#each things as thing}}
|
||||
{#each things as thing}
|
||||
|
||||
{{/each}}
|
||||
{/each}
|
||||
|
||||
{{#each things as thing}}{{/each}}
|
||||
{#each things as thing}{/each}
|
@ -1,13 +0,0 @@
|
||||
[{
|
||||
"code": "invalid-computed-arguments",
|
||||
"message": "Computed properties cannot use destructuring in function parameters",
|
||||
"loc": {
|
||||
"line": 6,
|
||||
"column": 8
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 16
|
||||
},
|
||||
"pos": 62
|
||||
}]
|
@ -1,9 +0,0 @@
|
||||
<div></div>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
computed: {
|
||||
foo ({ a, b }) {}
|
||||
}
|
||||
};
|
||||
</script>
|
@ -1 +0,0 @@
|
||||
<button on:click='store.foo()'>foo</button>
|
@ -1,13 +0,0 @@
|
||||
[{
|
||||
"code": "options-missing-store",
|
||||
"message": "compile with `store: true` in order to call store methods",
|
||||
"loc": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 29
|
||||
},
|
||||
"pos": 18
|
||||
}]
|
@ -1,29 +1 @@
|
||||
<rect x='{{x}}' y='{{y}}' width='{{width}}' height='{{height}}'/>
|
||||
|
||||
{{#each foo as bar}}
|
||||
|
||||
<rect x='{{x}}' y='{{y}}' width='{{width}}' height='{{height}}'/>
|
||||
|
||||
{{else}}
|
||||
|
||||
{{#each foo as bar}}
|
||||
<rect x='{{x}}' y='{{y}}' width='{{width}}' height='{{height}}'/>
|
||||
{{/each}}
|
||||
|
||||
{{/each}}
|
||||
|
||||
{{#if foo}}
|
||||
|
||||
{{elseif bar}}
|
||||
|
||||
{{#each foo as bar}}
|
||||
<rect x='{{x}}' y='{{y}}' width='{{width}}' height='{{height}}'/>
|
||||
{{/each}}
|
||||
|
||||
{{else}}
|
||||
|
||||
{{#each foo as bar}}
|
||||
<rect x='{{x}}' y='{{y}}' width='{{width}}' height='{{height}}'/>
|
||||
{{/each}}
|
||||
|
||||
{{/if}}
|
||||
<rect x='{x}' y='{y}' width='{width}' height='{height}'/>
|
@ -1,3 +1,3 @@
|
||||
<textarea value='{{foo}}'>
|
||||
<textarea value='{foo}'>
|
||||
some illegal text
|
||||
</textarea>
|
@ -1,13 +0,0 @@
|
||||
[{
|
||||
"code": "illegal-attribute",
|
||||
"message": "<title> cannot have attributes",
|
||||
"loc": {
|
||||
"line": 2,
|
||||
"column": 8
|
||||
},
|
||||
"end": {
|
||||
"line": 2,
|
||||
"column": 25
|
||||
},
|
||||
"pos": 22
|
||||
}]
|
@ -1,3 +0,0 @@
|
||||
<svelte:head>
|
||||
<title data-invalid=true>a static title</title>
|
||||
</svelte:head>
|
@ -1,3 +1,3 @@
|
||||
<:Head>
|
||||
<svelte:head>
|
||||
<title data-invalid=true>a static title</title>
|
||||
</:Head>
|
||||
</svelte:head>
|
@ -1,3 +1,3 @@
|
||||
<:Head>
|
||||
<svelte:head>
|
||||
<title>an <strong>invalid</strong> title</title>
|
||||
</:Head>
|
||||
</svelte:head>
|
@ -1 +1 @@
|
||||
<:Window bind:innerwidth='w'/>
|
||||
<svelte:window bind:innerwidth='w'/>
|
@ -1 +1 @@
|
||||
<:Window bind:innerWidth='foo.bar.baz'/>
|
||||
<svelte:window bind:innerWidth='foo.bar.baz'/>
|
@ -1 +1 @@
|
||||
<:Window bind:width='w'/>
|
||||
<svelte:window bind:width='w'/>
|
@ -1 +1 @@
|
||||
<:Window bind:potato='foo'/>
|
||||
<svelte:window bind:potato='foo'/>
|
@ -1 +1 @@
|
||||
<:Window bind:online/>
|
||||
<svelte:window bind:online/>
|
@ -1 +1 @@
|
||||
<:Window on:resize='resize()'/>
|
||||
<svelte:window on:resize='resize()'/>
|
@ -1,13 +1,13 @@
|
||||
[{
|
||||
"code": "invalid-callee",
|
||||
"message": "'resize' is an invalid callee (should be one of this.*, event.*, options.*, console.*, set, fire or destroy)",
|
||||
"message": "'resize' is an invalid callee (should be one of this.*, event.*, options.*, console.*, store.*, set, fire or destroy)",
|
||||
"loc": {
|
||||
"line": 1,
|
||||
"column": 20
|
||||
"column": 26
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 28
|
||||
"column": 34
|
||||
},
|
||||
"pos": 20
|
||||
"pos": 26
|
||||
}]
|
||||
|
Loading…
Reference in new issue