mirror of https://github.com/sveltejs/svelte
parent
dae188c8ef
commit
fa1d323f59
@ -0,0 +1,8 @@
|
|||||||
|
[{
|
||||||
|
"message": "Invalid namespace 'lol'",
|
||||||
|
"pos": 29,
|
||||||
|
"loc": {
|
||||||
|
"line": 3,
|
||||||
|
"column": 2
|
||||||
|
}
|
||||||
|
}]
|
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
namespace: 'lol'
|
||||||
|
};
|
||||||
|
</script>
|
@ -0,0 +1,8 @@
|
|||||||
|
[{
|
||||||
|
"message": "The 'namespace' property must be a string literal representing a valid namespace",
|
||||||
|
"pos": 79,
|
||||||
|
"loc": {
|
||||||
|
"line": 5,
|
||||||
|
"column": 2
|
||||||
|
}
|
||||||
|
}]
|
@ -0,0 +1,7 @@
|
|||||||
|
<script>
|
||||||
|
const namespace = 'http://www.w3.org/1999/svg';
|
||||||
|
|
||||||
|
export default {
|
||||||
|
namespace
|
||||||
|
};
|
||||||
|
</script>
|
Loading…
Reference in new issue