-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci build * fix test * add test for #7938
- Loading branch information
1 parent
26c0d3f
commit e1a1c7f
Showing
6 changed files
with
73 additions
and
17 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
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
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,8 @@ | ||
<svelte:element class="outer" this="a" on:keydown on:keyup> | ||
<svelte:element class="inner" this="span" on:keydown on:keyup></svelte:element> | ||
</svelte:element> | ||
<script> | ||
const a = 'a'; | ||
const span = 'span'; | ||
</script> | ||
|
||
<svelte:element this={a} class='outer' on:keydown on:keyup> | ||
<svelte:element this={span} class='inner' on:keydown on:keyup /> | ||
</svelte:element> |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* generated by Svelte vX.Y.Z */ | ||
import { | ||
SvelteComponent, | ||
attr, | ||
detach, | ||
element, | ||
init, | ||
insert, | ||
noop, | ||
safe_not_equal | ||
} from "svelte/internal"; | ||
|
||
function create_fragment(ctx) { | ||
let a; | ||
|
||
return { | ||
c() { | ||
a = element("a"); | ||
a.innerHTML = `<span class="inner"></span>`; | ||
attr(a, "class", "outer"); | ||
}, | ||
m(target, anchor) { | ||
insert(target, a, anchor); | ||
}, | ||
p: noop, | ||
i: noop, | ||
o: noop, | ||
d(detaching) { | ||
if (detaching) detach(a); | ||
} | ||
}; | ||
} | ||
|
||
class Component extends SvelteComponent { | ||
constructor(options) { | ||
super(); | ||
init(this, options, null, create_fragment, safe_not_equal, {}); | ||
} | ||
} | ||
|
||
export default Component; |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<svelte:element this='a' class='outer'> | ||
<svelte:element this='span' class='inner' /> | ||
</svelte:element> |