mirror of https://github.com/sveltejs/svelte
parent
61e2896f33
commit
f4bee21793
@ -1 +1 @@
|
||||
<div class:one="true"></div>
|
||||
<div class:one={true}></div>
|
@ -0,0 +1,15 @@
|
||||
[{
|
||||
"code": "invalid-directive-value",
|
||||
"message": "Directive value must be a JavaScript expression enclosed in curly braces",
|
||||
"pos": 15,
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 15,
|
||||
"character": 15
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 15,
|
||||
"character": 15
|
||||
}
|
||||
}]
|
@ -0,0 +1 @@
|
||||
<div on:click="invalid"></div>
|
@ -1,3 +1,3 @@
|
||||
<div on:wheel|passive|preventDefault="handleWheel()">
|
||||
<div on:wheel|passive|preventDefault={handleWheel}>
|
||||
oops
|
||||
</div>
|
@ -1 +1 @@
|
||||
<button on:click|stop|bad="doThat()"></button>
|
||||
<button on:click|stop|bad={doThat}></button>
|
Loading…
Reference in new issue