Commit Graph

192 Commits (3dd32b9fc270b3832128be83c2dfabfdf4f54ed8)

Author SHA1 Message Date
Rich Harris 99f9e6a4c1 use component name in runtime dev warnings - fixes #781
9 years ago
Rich Harris 179f7b47e2 prevent mutation bug from incorrectly calling observer (fixes #804)
9 years ago
Rich Harris 8f31f96edc dont noop set/get until after component is destroyed (fixes #788)
9 years ago
Rich Harris 7b859cfaa8 stack up append targets so that slotted content in nested components works in SSR mode (fixes #801)
9 years ago
Rich Harris 0cfc67ca11 only use noscript if necessary
9 years ago
Rich Harris f63616903e failing tests for #637
9 years ago
Rich Harris db3c7abec4 Merge pull request #794 from sveltejs/gh-550
9 years ago
Rich Harris 47b10a184a remove test of instantiation without options, its nonsensical
9 years ago
Rich Harris 72fd1228c7 attach options to component (#550)
9 years ago
Rich Harris be6e778a53 support nested <slot> elements
9 years ago
Rich Harris fd8f6f5f09 dont actually render <slot> elements
9 years ago
Rich Harris c1eda75ba0 wrap fallback hydration code in conditional
9 years ago
Rich Harris ec30e3dfa8 fallback content
9 years ago
Rich Harris 906daf3514 populate component.slots
9 years ago
Rich Harris e49183e91b server-side named slots
9 years ago
Rich Harris 70cbb6a3c7 client-side named slots
9 years ago
Rich Harris 25f08b215f replace {{yield}} with <slot/>
9 years ago
Rich Harris 224a3c0e96 start work on <slot>
9 years ago
Rich Harris d02c468834 update component bindings together. WIP
9 years ago
Rich Harris 2f0abaa719 apply optimisation to raw tags
9 years ago
Rich Harris d07af2a0c5 fix select edge case
9 years ago
Rich Harris 8faa01ad5c only cache values when it makes sense
9 years ago
Rich Harris 6292204072 do dirty check in _set, so we can easily skip unnecessary computations later (#768)
9 years ago
Rich Harris 1038d3fccc Merge pull request #766 from sveltejs/gh-740
9 years ago
Rich Harris 4d9b57e911 bind to change events for range inputs, as well as input events (#740)
9 years ago
Rich Harris 06c9e37770 call create() on new iterations of static each blocks (#762)
9 years ago
Rich Harris 92766ee9e7 handle set after destroy, and move destroy into shared helpers
9 years ago
Conduitry 0e1b4c60ee add test
9 years ago
Rich Harris 5dc0482829 rename test
9 years ago
Rich Harris aed1706696 failing tests for #741
9 years ago
Rich Harris e67225bd7f Merge pull request #737 from sveltejs/update-deps
9 years ago
Rich Harris 508188d107 add dev mode warning for double destroy
9 years ago
Rich Harris d2a5f5df33 remove reify
9 years ago
Rich Harris 714a267837 dont throw error if component is destroyed twice (closes #643)
9 years ago
Rich Harris 55778c3b8e Merge pull request #732 from sveltejs/gh-638
9 years ago
Rich Harris d13b682f85 Merge pull request #728 from sveltejs/gh-721
9 years ago
Rich Harris 8720fa5fbc event propagation shorthand for components (#638)
9 years ago
Rich Harris e25a4d5882 event propagation shorthand for elements (#638)
9 years ago
Rich Harris 1feee787f5 use _set, not set, when updating child components - fixes #721
9 years ago
Rich Harris 3c04dd7ed1 clear refs in destroy, not unmount, so that refs are populated in ondestroy. fixes #706
9 years ago
Rich Harris d5ac8d1be2 unescape hash character (#722)
9 years ago
Yury Zhuravlev 8193ab534c Fix binding in each block
9 years ago
Rich Harris 1ff8feb341 Merge pull request #720 from sveltejs/gh-711
9 years ago
Rich Harris 6676fe31b4 Merge pull request #719 from sveltejs/gh-712
9 years ago
Rich Harris 66adfefd36 Merge pull request #718 from sveltejs/gh-713
9 years ago
Rich Harris 850d66411f ensure data is up to date when re-rendering yield blocks (fixes #711)
9 years ago
Rich Harris e1ee7574bd failing test for #711
9 years ago
Rich Harris b4f2111f70 second failing test for #712
9 years ago
Rich Harris 540f83529c dont strip whitespace at the end of an each block (#713)
9 years ago
Rich Harris f4089a8558 make test more stringent
9 years ago