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

1839 Commits

Author SHA1 Message Date
Richard Harris
115d10bd18 update references to svelte.technology - fixes #2450 2019-04-21 11:17:10 -04:00
Rich Harris
5d71b5138a
Merge pull request #2433 from sveltejs/gh-2430
Use Map for keyed each block lookups
2019-04-17 21:35:32 -04:00
Richard Harris
c988457afa use maps for keyed each block lookups - fixes #2430 2019-04-17 08:59:05 -04:00
Mikhail Korepanov
f91ba51fc4 Fix creation of debugging comment for elements without children 2019-04-17 01:12:24 +03:00
Richard Harris
9b5615ffc2 failing test for #2320 2019-04-14 16:25:45 -04:00
Rich Harris
aae969d6e2
Merge pull request #2415 from sveltejs/gh-2356
Prevent infinite loops with chained bindings
2019-04-14 15:21:42 -04:00
Richard Harris
07ecdb1849 propagate scope changes across chained slots - fixes #2359 2019-04-14 15:10:46 -04:00
Rich Harris
4e09479a9f
Merge branch 'master' into gh-2356 2019-04-14 14:41:53 -04:00
Richard Harris
5535110066 wait until flush complete before unlocking bindings - fixes #2356 2019-04-14 14:20:18 -04:00
Richard Harris
ce70467707 failing tests for #2356 2019-04-14 12:29:30 -04:00
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