mirror of https://github.com/sveltejs/svelte
commit
7b073bdb2a
@ -0,0 +1,15 @@
|
||||
[{
|
||||
"message": "Reference name 'foo-bar' is invalid — must be a valid identifier such as foo_bar",
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 5,
|
||||
"character": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 16,
|
||||
"character": 16
|
||||
},
|
||||
"pos": 5,
|
||||
"code": "invalid-reference-name"
|
||||
}]
|
@ -0,0 +1,8 @@
|
||||
<div ref:foo-bar>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
ref:foo-bar {
|
||||
display: flex;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue