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

583 Commits

Author SHA1 Message Date
Rich Harris
c4ad36023c move whitespace logic out of parse and into preprocess 2017-06-25 16:32:24 -04:00
Rich Harris
6751a83264 remove redundant try-catch 2017-06-25 14:24:33 -04:00
Rich Harris
7ad4befd25 deconflict name with imports (#655) 2017-06-25 14:15:06 -04:00
Rich Harris
21a8b1dd06 fix tests 2017-06-25 12:57:27 -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
b07f303780 put attribute selector before pseudo-class selector - fixes #658 2017-06-23 08:47:51 -04:00
Rich Harris
0250398ee6 update tests 2017-06-18 01:08:03 -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
97b70bccc5 events, bindings, if block fixes 2017-06-17 21:45:05 -04:00
Rich Harris
dc29b2d466 fix component hydration 2017-06-17 17:06:51 -04:00
Rich Harris
0bbd917442 more hydration 2017-06-17 16:28:43 -04:00
Rich Harris
14fe89eae8 hydration working with elements, text nodes, tags and if blocks 2017-06-17 14:31:19 -04:00
Rich Harris
be7ddbac58 Merge branch 'master' into hydration 2017-06-17 11:35:25 -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
e9516abffd fix bad indentation in generated code 2017-06-16 10:47:19 -04:00
Paul Sauve
dc0dedf3fe Fix #643 2017-06-15 22:33:03 -05: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
5c26f81f53 Merge pull request #641 from sveltejs/gh-639-a
Sync state with view if <select> binding does not have initial value
2017-06-15 13:51:00 -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
dceb2b533b first, very incorrect stab at hydration 2017-06-14 16:34:12 -04:00
Rich Harris
f361d4287a add hydration tests 2017-06-13 17:54:59 -04:00
Rich Harris
135f626395 include ast in svelte.compile return value (#632) 2017-06-12 21:49:38 -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
61f5cbef54 Merge pull request #630 from sveltejs/gh-620
only enforce static type if input is bound
2017-06-11 21:33:51 -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
d45699db6f warn on missing component (#623) 2017-06-11 15:45:25 -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
e730b38b9d lint 2017-06-11 14:00:24 -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
Rich Harris
84595fb381 run prettier on src, update tests 2017-06-02 21:57:25 -04:00
Conduitry
9112671263 sanitize event name in handler function name (#612) 2017-06-01 07:28:27 -04:00
Rich Harris
3b70920991 merge master -> gh-592 2017-05-31 22:34:49 -04:00