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

160 Commits

Author SHA1 Message Date
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
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
Rich Harris
e0917fd874 allow components to have computed member expressions for bindings (fixes #624) 2017-06-11 15:23:05 -04:00
Rich Harris
5c53f5b6a2 more useful presentation of failing SSR code 2017-06-11 15:22:36 -04:00
Rich Harris
d50c29bb6a more improvements to ergonomics around test failures 2017-06-11 13:57:19 -04:00
Rich Harris
4037b647cb failing test for #625 2017-06-09 18:34:43 -04:00
Rich Harris
6227745467 remove logging 2017-06-09 18:34:04 -04:00
Rich Harris
3e5f8d05c5 improve readability of debugging printouts 2017-06-09 15:22:51 -04:00
Rich Harris
1a798ec8ad Merge branch 'master' into gh-616 2017-06-03 11:10:06 -04:00
Rich Harris
4b1f1e8392 TS-ify spaces.js and deindent.js, so they get included in prettier task 2017-06-03 10:43:41 -04:00
Conduitry
05a7a262c3 also escape back-ticks and backslashes in text nodes in SSR code (#616) 2017-06-02 22:46:28 -04:00
Rich Harris
10ecd81734 prettierfy test files 2017-06-02 22:04:36 -04:00