mirror of https://github.com/sveltejs/svelte
pull/10714/head
parent
0f774533bd
commit
2d2be25861
@ -1,3 +0,0 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({ skip: true });
|
||||
@ -1,12 +0,0 @@
|
||||
<script>
|
||||
function handleTouchstart() {
|
||||
// ...
|
||||
}
|
||||
|
||||
function handleClick() {
|
||||
// ...
|
||||
}
|
||||
</script>
|
||||
|
||||
<button on:click|passive="{handleClick}"></button>
|
||||
<div on:touchstart|passive="{handleTouchstart}"></div>
|
||||
@ -1,26 +0,0 @@
|
||||
[
|
||||
{
|
||||
"message": "The passive modifier only works with wheel and touch events",
|
||||
"code": "redundant-event-modifier",
|
||||
"start": {
|
||||
"line": 11,
|
||||
"column": 8
|
||||
},
|
||||
"end": {
|
||||
"line": 11,
|
||||
"column": 40
|
||||
}
|
||||
},
|
||||
{
|
||||
"message": "Touch event handlers that don't use the 'event' object are passive by default",
|
||||
"code": "redundant-event-modifier",
|
||||
"start": {
|
||||
"line": 12,
|
||||
"column": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 12,
|
||||
"column": 47
|
||||
}
|
||||
}
|
||||
]
|
||||
Loading…
Reference in new issue