-
-
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.
Merge branch 'master' of github.com:sveltejs/svelte
- Loading branch information
Showing
8 changed files
with
84 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
"module": "index.mjs", | ||
"main": "index", | ||
"files": [ | ||
"dist", | ||
"compiler.js", | ||
"register.js", | ||
"index.*", | ||
|
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
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: 4 additions & 0 deletions
4
test/server-side-rendering/samples/bindings-readonly/_expected.html
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,4 @@ | ||
<div></div> | ||
<audio></audio> | ||
<video></video> | ||
<input type="file"> |
44 changes: 44 additions & 0 deletions
44
test/server-side-rendering/samples/bindings-readonly/main.svelte
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,44 @@ | ||
<script> | ||
export let clientWidth = 1; | ||
export let clientHeight = 2; | ||
export let offsetHeight = 3; | ||
export let offsetWidth = 4; | ||
|
||
export let audioDuration = 5; | ||
export let audioBuffered = 6; | ||
export let audioSeekable = 7; | ||
export let audioPlayed = 8; | ||
|
||
export let videoDuration = 9; | ||
export let videoBuffered = 10; | ||
export let videoSeekable = 11; | ||
export let videoPlayed = 12; | ||
|
||
export let value = '/some/file'; | ||
</script> | ||
|
||
<div | ||
bind:clientWidth | ||
bind:clientHeight | ||
bind:offsetWidth | ||
bind:offsetHeight | ||
></div> | ||
|
||
<audio | ||
bind:duration="{audioDuration}" | ||
bind:buffered="{audioBuffered}" | ||
bind:seekable="{audioSeekable}" | ||
bind:played="{audioPlayed}" | ||
></audio> | ||
|
||
<video | ||
bind:duration="{videoDuration}" | ||
bind:buffered="{videoBuffered}" | ||
bind:seekable="{videoSeekable}" | ||
bind:played="{videoPlayed}" | ||
></video> | ||
|
||
<input | ||
type="file" | ||
bind:value | ||
/> |