-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
37 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
packages/e2e-tests/import-queries/__tests__/__snapshots__/svelte-5/custom-element.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/e2e-tests/import-queries/__tests__/__snapshots__/svelte-5/mixed-all.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/e2e-tests/import-queries/__tests__/__snapshots__/svelte-5/mixed-script.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const code="import \"svelte/internal/disclose-version\";\nimport \"svelte/internal/flags/legacy\";\nimport * as $ from \"svelte/internal/client\";\n\nvar root = $.template(`<button class=\"svelte-d8vj6a\"> </button>`);\n\nexport default function Dummy($$anchor, $$props) {\n\tlet name = $.prop($$props, \"name\", 8);\n\tlet clicks = $.mutable_state(0);\n\tvar button = root();\n\tvar text = $.child(button);\n\n\t$.reset(button);\n\t$.template_effect(() => $.set_text(text, `${name() ?? \"\"} clicks: ${$.get(clicks) ?? \"\"}`));\n\n\t$.event(\"click\", button, () => {\n\t\t$.update(clicks);\n\t});\n\n\t$.append($$anchor, button);\n}" | ||
export const map={"version":3,"mappings":";;;;;;;KACY,IAAY;KACnB,MAAM,mBAAG,CAAC;;;;;6CAMV,IAAI,0BAAW,MAAM;;;WADxB,MAAM","names":[],"ignoreList":[],"sources":["Dummy.svelte"]} | ||
export const code="import 'svelte/internal/disclose-version';\nimport 'svelte/internal/flags/legacy';\nimport * as $ from 'svelte/internal/client';\n\nvar root = $.template(`<button class=\"svelte-d8vj6a\"> </button>`);\n\nexport default function Dummy($$anchor, $$props) {\n\tlet name = $.prop($$props, 'name', 8);\n\tlet clicks = $.mutable_state(0);\n\tvar button = root();\n\tvar text = $.child(button);\n\n\t$.reset(button);\n\t$.template_effect(() => $.set_text(text, `${name() ?? ''} clicks: ${$.get(clicks) ?? ''}`));\n\n\t$.event('click', button, () => {\n\t\t$.update(clicks);\n\t});\n\n\t$.append($$anchor, button);\n}" | ||
export const map={"version":3,"mappings":";;;;;;;KACY,IAAY;KACnB,MAAM,mBAAG,CAAC;;;;;6CAMV,IAAI,0BAAW,MAAM;;gCAFT;WACf,MAAM;CACP,CAAC","names":[],"ignoreList":[],"sources":["Dummy.svelte"]} | ||
export default code |
12 changes: 6 additions & 6 deletions
12
packages/e2e-tests/import-queries/__tests__/__snapshots__/svelte-5/script.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
packages/e2e-tests/import-queries/__tests__/__snapshots__/svelte-5/ssr-custom-element.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
packages/e2e-tests/import-queries/__tests__/__snapshots__/svelte-5/ssr-script.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters