0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
svelte/test/server-side-rendering/samples/bindings-readonly
Colin Casey f0831202d9 Omits readonly attributes from SSR code
* move `is_readonly` into the common `Binding` AST class
* prevents the following bindings from being emitted into the SSR code:
  * `bind:clientWidth`
  * `bind:clientHeight`
  * `bind:offsetWidth`
  * `bind:offsetHeight`
  * `bind:duration`
  * `bind:buffered`
  * `bind:seekable`
  * `bind:played`
  * `bind:value` (only for  `input` with `type=file`)
2019-05-26 23:44:24 -03:00
..
_expected.html Omits readonly attributes from SSR code 2019-05-26 23:44:24 -03:00
main.svelte Omits readonly attributes from SSR code 2019-05-26 23:44:24 -03:00