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

1829 Commits

Author SHA1 Message Date
Conduitry
d2b0b38235 add test 2019-04-14 12:14:11 -04:00
Rich Harris
3f97558533
Merge pull request #2409 from sveltejs/gh-2354
only create fallback content if no slot is provided
2019-04-13 19:46:52 -04:00
Rich Harris
1de67e3c84
Merge pull request #2406 from sveltejs/gh-2399
skip observedAttributes where appropriate
2019-04-13 19:46:29 -04:00
Richard Harris
d67ffcd3d3 fix hydration tests 2019-04-13 19:40:45 -04:00
Richard Harris
aa653558d0 only create fallback content if no slot is provided - fixes #2354 2019-04-13 19:34:42 -04:00
Richard Harris
cd0f535d83 better error for bindings to let: values - fixes #2301 2019-04-13 16:12:06 -04:00
Richard Harris
d2568aa583 skip observedAttributes where appropriate - fixes #2399 2019-04-13 15:11:03 -04:00
Richard Harris
a88749af27 allow reactive declarations to reference self - fixes #2386 2019-04-12 09:31:09 -04:00
Richard Harris
d7b32fb22c inject lets for destructured reactive declarations - fixes #2396 2019-04-12 00:04:38 -04:00
Richard Harris
b36d24032b optimise certain $$invalidate calls 2019-04-11 23:46:38 -04:00
Richard Harris
30c8fe0c6e allow reactive declarations without dependencies - fixes #2285 2019-04-11 23:29:02 -04:00
Conduitry
3170edb158 add initial_value argument to derived store 2019-04-11 15:26:42 -04:00
Conduitry
6e46a18969 rename derive to derived 2019-04-09 10:29:40 -04:00
Richard Harris
af1315b438 apply namespace to foreignObject correctly - fixes #2340 2019-04-07 12:55:14 -04:00
Rich Harris
c853e44130
Merge pull request #2349 from Panya/issue-2348
Pass block to the render of an expression in an attribute
2019-04-06 15:40:26 +03:00
Rich Harris
c20ad22363
Merge pull request #2351 from jches/gh/2347
Don't hoist non-renamed exports
2019-04-06 15:39:46 +03:00
John Chesley
1098b6c1f5 add failing test for #2278 2019-04-05 22:02:55 -04:00
John Chesley
1140fdf7a7 add failing test for #2347 2019-04-01 20:18:50 -04:00
Mikhail Korepanov
609084fb3e Pass block to the render of an expression in an attribute 2019-04-01 19:58:22 +03:00
Rich Harris
a07eac432a
update API reference docs (#2206) 2019-03-29 21:49:31 -04:00
Rich Harris
eb2f0cc245
Merge pull request #2326 from sveltejs/gh-2325
skip array literal length optimization in presence of spread
2019-03-29 08:46:49 -04:00
Richard Harris
143117054a Merge branch 'master' of github.com:sveltejs/svelte 2019-03-29 08:44:35 -04:00
Conduitry
ef9c9a626e don't preprocess tags whose names begin with script/style 2019-03-28 10:56:00 -04:00
Lukas
598fa18e2d add playbackrate to runtime test 2019-03-28 02:17:32 +01:00
Lukas
1a1664341a add playbackrate to compilation test 2019-03-28 02:16:58 +01:00
Conduitry
12684d4eba add test 2019-03-27 18:13:30 -04:00
Rich Harris
a59cd36a39
Merge pull request #2321 from sveltejs/gh-2295
Fix exception and warning for global variables
2019-03-27 08:21:48 -04:00
Conduitry
ecd7c6e9aa warn on template references to global variables (#2295) 2019-03-26 13:51:44 -04:00
Conduitry
fa79a72348 disallow bindings to global variables (#2295) 2019-03-26 13:46:28 -04:00
Rich Harris
16106d113d handle foreignObject correctly, default to svg namespace for top-level svg elements - fixes #2298 2019-03-26 12:10:41 -04:00
Rich Harris
a3a2e51352 move test 2019-03-25 17:30:16 -04:00
Rich Harris
ca0e8a34e9 test for conflicting slot names 2019-03-25 17:29:48 -04:00
Rich Harris
1de58d99c5 Merge branch 'issue-2291' of https://github.com/Panya/svelte into Panya-issue-2291 2019-03-25 16:27:34 -04:00
Rich Harris
a432f73cda
Merge pull request #2309 from sveltejs/gh-2303
play transitions in slots
2019-03-25 16:24:48 -04:00
Rich Harris
45cd960568
Merge pull request #2310 from sveltejs/gh-2296
update readable signature to match writable
2019-03-25 16:24:30 -04:00
Rich Harris
f6f06b3cf5
Merge pull request #2312 from sveltejs/gh-2294
note action/etc. references even when hoistable
2019-03-25 16:23:42 -04:00
Conduitry
f063964739 subscribe to global stores from script (#2139) 2019-03-25 12:52:19 -04:00
Mikhail Korepanov
33914410aa Move slot names test to runtime. Allow slot names that start with a digit 2019-03-25 17:05:38 +03:00
Mikhail Korepanov
a27a43076e Add an error for a slot name starts with a digit 2019-03-25 16:55:44 +03:00
Mikhail Korepanov
079ce998ef Don't remove digits and _ from slot names 2019-03-25 16:55:44 +03:00
Conduitry
b33fd1797a note action/etc. references even when hoistable (#2294) 2019-03-25 09:19:29 -04:00
Richard Harris
f3cb540ce6 update readable signature to match writable - fixes #2296 2019-03-25 08:18:13 -04:00
Richard Harris
dbf0f6a2f3 play transitions in slots - fixes #2303 2019-03-25 08:13:15 -04:00
Richard Harris
d614cfa1c7 invalidate correctly inside event handlers - fixes #2305 2019-03-24 21:59:24 -04:00
Rich Harris
fa47f76447
Merge pull request #2283 from sveltejs/gh-2280
replace comment anchors with empty text nodes
2019-03-24 21:45:30 -04:00
Conduitry
d10fa72cf4 find this= in <svelte:component> in presence of bind:this= (#2284) 2019-03-21 16:49:39 -04:00
Richard Harris
6a7721b05f replace comment anchors with empty text nodes - fixes #2280 2019-03-20 22:27:10 -04:00
John Chesley
d788bb9735 break declaration grouping on non-declaration nodes (fixes #2022) 2019-03-18 21:35:12 -04:00
Richard Harris
86bee90d8a failing test for #2022 2019-03-18 21:35:12 -04:00
Rich Harris
4348727fca
Merge pull request #2258 from sveltejs/collapse-whitespace
collapse consecutive whitespace characters
2019-03-18 16:23:57 -04:00