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

151 Commits

Author SHA1 Message Date
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
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
Rich Harris
b5b484bd91 Merge pull request #606 from sveltejs/gh-584
coerce empty string in number/range inputs to undefined
2017-05-31 22:32:49 -04:00
Rich Harris
66a1fd76dd Merge pull request #605 from sveltejs/gh-602
support binding to computed member expressions
2017-05-31 22:32:32 -04:00
Rich Harris
e1001a7f34 add test for #610 2017-05-31 22:31:35 -04:00
Rich Harris
6ae01b6682 coerce empty string in number/range inputs to undefined - closes #584 2017-05-28 17:59:41 -04:00
Rich Harris
2a92b36472 support binding to computed member expressions (fixes #602) 2017-05-28 15:57:10 -04:00
Rich Harris
f511962325 Merge branch 'master' into gh-592 2017-05-28 13:56:46 -04:00
Rich Harris
31d8ef6654 Merge pull request #601 from sveltejs/gh-574
apply t0 styles to nodes if css transition has delay
2017-05-28 13:56:17 -04:00