Skip to content

Commit 321db79

Browse files
committed
test
1 parent c644c24 commit 321db79

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { test } from '../../test';
2+
3+
export default test({});
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// index.svelte (Svelte VERSION)
2+
// Note: compiler output will change before 5.0 is released!
3+
import "svelte/internal/disclose-version";
4+
import * as $ from "svelte/internal";
5+
6+
export default function Bind_this($$anchor, $$props) {
7+
$.push($$props, false);
8+
$.init();
9+
10+
/* Init */
11+
var fragment = $.comment($$anchor);
12+
var node = $.child_frag(fragment);
13+
14+
$.bind_this(Foo(node, {}), ($$value) => foo = $$value, foo);
15+
$.close_frag($$anchor, fragment);
16+
$.pop();
17+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// index.svelte (Svelte VERSION)
2+
// Note: compiler output will change before 5.0 is released!
3+
import * as $ from "svelte/internal/server";
4+
5+
export default function Bind_this($$payload, $$props) {
6+
$.push(false);
7+
8+
const anchor = $.create_anchor($$payload);
9+
10+
$$payload.out += `${anchor}`;
11+
Foo($$payload, {});
12+
$$payload.out += `${anchor}`;
13+
$.pop();
14+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<Foo bind:this={foo} />

0 commit comments

Comments
 (0)