You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/index.svelte

18 lines
414 B

<svelte:options runes={true} />
<script context="module">
const o = 'o';
const d = 'd';
const url = new URL('foobar.png', 'https://www.example.com/').href
</script>
<script>
let boolean = false;
let value = 'd';
value += 'd';
</script>
<p autocapitalize="w{o}r{d}s" itemid="w{o}r{value}s" contenteditable={boolean}>boolean is {boolean} and autocapitalize is w{o}r{d}s</p>
<img src={url} alt="example" />