0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

170 Commits

Author SHA1 Message Date
Rich Harris
57e7f75eee Merge pull request #728 from sveltejs/gh-721
use _set, not set, when updating child components
2017-07-29 18:45:15 -04:00
Rich Harris
cb030fd780 use _set, not set, when updating child components - fixes #721 2017-07-29 12:19:58 -04:00
Rich Harris
4d36908525 clear refs in destroy, not unmount, so that refs are populated in ondestroy. fixes #706 2017-07-29 11:48:10 -04:00
Rich Harris
b701bf24b4 unescape hash character (#722) 2017-07-26 22:01:22 -04:00
Yury Zhuravlev
246b4d70dc Fix binding in each block 2017-07-26 11:37:06 +09:00
Rich Harris
2ab2661585 Merge pull request #720 from sveltejs/gh-711
ensure data is up to date when re-rendering yield blocks
2017-07-25 11:21:43 -04:00
Rich Harris
5f09421a18 Merge pull request #719 from sveltejs/gh-712
Fix escaping bugs
2017-07-25 11:21:28 -04:00
Rich Harris
94037f1eca Merge pull request #718 from sveltejs/gh-713
don't strip whitespace at the end of an each block
2017-07-25 11:21:10 -04:00
Rich Harris
cf66ef64f4 ensure data is up to date when re-rendering yield blocks (fixes #711) 2017-07-24 23:02:01 -04:00
Rich Harris
b32a35febb failing test for #711 2017-07-24 22:01:28 -04:00
Rich Harris
2d39b25585 second failing test for #712 2017-07-24 19:18:43 -04:00
Rich Harris
b9d826304a dont strip whitespace at the end of an each block (#713) 2017-07-24 16:54:32 -04:00
Rich Harris
3f73f252ac update tests 2017-07-24 14:58:32 -04:00
Rich Harris
3d51c98dde make test more stringent 2017-07-11 15:49:38 -04:00
Rich Harris
05a27c5fb2 tidy up test 2017-07-11 15:07:11 -04:00
Rich Harris
16aaf157a0 sketch of a solution to #708 2017-07-10 22:38:27 -04:00
Rich Harris
6a9e1d5db9 Merge pull request #704 from sveltejs/gh-700
use anchor comments to preserve order in keyed each blocks with components
2017-07-10 07:37:53 -04:00
Rich Harris
e9f17f34ff fire intro.start and outro.start events (#702) 2017-07-08 14:18:26 -04:00
Rich Harris
007aee1f12 use anchor comments to preserve order in keyed each blocks with components (fixes #700) 2017-07-08 11:50:10 -04:00
Rich Harris
2131b28630 alias #component in hoisted event handlers - fixes #699 2017-07-08 10:46:04 -04:00
Rich Harris
d817f09163 Merge pull request #690 from sveltejs/gh-685
fix context for bindings
2017-07-07 11:41:31 -04:00
Rich Harris
9977762dd0 add test 2017-07-06 10:24:12 -04:00
Rich Harris
d707f6a3b2 call oncreate functions before bindings 2017-07-06 08:51:04 -04:00
Rich Harris
01ec3000f3 fix context for bindings (#685) 2017-07-05 12:33:47 -04:00
Rich Harris
203e123d94 Merge pull request #676 from sveltejs/gh-608
Preserve whitespace inside nodes if necessary
2017-06-26 10:55:34 -04:00
Rich Harris
263a34d35c Merge branch 'master' into codegen 2017-06-25 20:04:20 -04:00
Rich Harris
2fa784ecc3 handle @foo and #foo edge cases 2017-06-25 20:03:17 -04:00
Rich Harris
7eb4f2d1c0 add dev mode hydration error (closes #664) 2017-06-25 17:58:49 -04:00
Rich Harris
ee5a60fd71 Merge pull request #675 from sveltejs/gh-651
run intro transitions on initial render
2017-06-25 17:24:23 -04:00
Rich Harris
df1870df8b update tests 2017-06-25 17:03:32 -04:00
Rich Harris
c4ad36023c move whitespace logic out of parse and into preprocess 2017-06-25 16:32:24 -04:00
Rich Harris
8de2c2c9c2 add test for #651 2017-06-25 14:49:04 -04:00
Rich Harris
7ad4befd25 deconflict name with imports (#655) 2017-06-25 14:15:06 -04:00
Rich Harris
47f9c3dbfd dont recreate if_blocks incorrectly 2017-06-23 17:56:34 -04:00
Rich Harris
f24db0bc73 reenable tests 2017-06-23 16:58:08 -04:00
Rich Harris
8d0ec6e61e pass params to get_block (#667) 2017-06-23 16:56:14 -04:00
Rich Harris
de2e059f4e only run create() for new if blocks - fixes #665 2017-06-23 16:18:01 -04:00
Rich Harris
dcb905aab6 fix each-else blocks that are empty on initial render (#662) 2017-06-23 14:27:02 -04:00
Rich Harris
b47e2527b3 test with hydratable: true and hydratable: false 2017-06-18 01:04:38 -04:00
Rich Harris
98a877df04 get all tests passing with hydration 2017-06-18 00:52:29 -04:00
Rich Harris
d10ddc0c51 fix most non-hydration tests 2017-06-17 23:41:35 -04:00
Rich Harris
3c36b77c1c doh 2017-06-17 11:25:47 -04:00
Rich Harris
78b3a1b079 add test for #643 2017-06-17 11:22:49 -04:00
Rich Harris
ba822bd60c Merge pull request #642 from sveltejs/gh-639-b
mark indirect dependencies of <select> bindings
2017-06-15 13:53:02 -04:00
Rich Harris
9a70ca7874 mark indirect dependencies of <select> bindings - #639 2017-06-15 13:44:29 -04:00
Rich Harris
4b7b0503af skip failing SSR test for now 2017-06-14 17:45:25 -04:00
Rich Harris
d3d026a510 sync state with view, if <select> binding does not have initial value (#639) 2017-06-14 17:44:13 -04:00
Rich Harris
bb17940b7e Merge pull request #627 from sveltejs/gh-624
allow components to have computed member expressions for bindings
2017-06-12 20:39:53 -04:00
Conduitry
051534eeae correctly handle empty <style> tag (#634) 2017-06-12 17:55:45 -04:00
Rich Harris
ff40308358 only enforce static type if input is bound (fixes #620) 2017-06-11 16:53:26 -04:00