Skip to content

Commit 90feabf

Browse files
committed
make clash less likely
1 parent 41ac289 commit 90feabf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/svelte/test/runtime/samples/attribute-custom-element-inheritance/_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ export default {
22
skip_if_ssr: true,
33
skip_if_hydrate: true,
44
html: `
5-
<my-custom-element>Hello World!</my-custom-element>
5+
<my-custom-inheritance-element>Hello World!</my-custom-inheritance-element>
66
`
77
};

packages/svelte/test/runtime/samples/attribute-custom-element-inheritance/main.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
2828
class Extended extends MyCustomElement {}
2929
30-
window.customElements.define('my-custom-element', Extended);
30+
window.customElements.define('my-custom-inheritance-element', Extended);
3131
</script>
3232

33-
<my-custom-element camelCase={{ text: 'World' }} text="!" />
33+
<my-custom-inheritance-element camelCase={{ text: 'World' }} text="!" />

0 commit comments

Comments
 (0)