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

1674 Commits

Author SHA1 Message Date
Rich Harris
a50c84ea36 remove internal gubbins when using bind:props - fixes #2038 2019-02-14 18:48:37 -04:00
Rich Harris
206a3d0131 update tests 2019-02-08 09:32:36 -05:00
Rich Harris
687e352209 rename .html files to .svelte 2019-02-08 08:48:10 -05:00
Rich Harris
da11d75558
Merge pull request #2065 from sveltejs/gh-2061
enclose text/compound slot attributes in backticks
2019-02-07 13:14:53 -05:00
Rich Harris
bf16bb89c3 only do dirty check for writable values - fixes #2052 2019-02-07 11:43:34 -05:00
Rich Harris
e9b714110c enclose text/compound slot attributes in backticks - fixes #2061 2019-02-07 11:36:30 -05:00
Rich Harris
cf775486cf
Merge pull request #2064 from sveltejs/gh-2054
prevent duplicated reactive declarations
2019-02-07 11:25:36 -05:00
Rich Harris
aa7bcb0a8e prevent duplicated reactive declarations - fixes #2054 2019-02-07 11:20:48 -05:00
Rich Harris
f64a661fa5 better cyclical dependency detection - fixes #2055 2019-02-07 11:11:14 -05:00
Rich Harris
539fbbd8ef inject lets for reactive declarations where necessary - fixes #2059 2019-02-06 14:49:36 -05:00
Rich Harris
3a03485d0d fix tests 2019-02-03 22:21:03 -05:00
Rich Harris
43d3bb08e4
Merge pull request #2044 from sveltejs/gh-2036
remove unnecessary dupe check
2019-02-03 22:05:34 -05:00
Richard Harris
0f7ae264e4 insert semicolon where necessary when initing props - fixes #2037 2019-02-03 20:39:00 -05:00
Richard Harris
6df94aa651 remove unnecessary dupe check - fixes #2036 2019-02-03 20:00:18 -05:00
Rich Harris
f0c33b5cb3 better 2019-01-30 15:33:35 -05:00
Rich Harris
003dfa1dde update test 2019-01-30 15:19:51 -05:00
Rich Harris
3ea5f3b8f0 rename to tick, remove callback interface 2019-01-30 15:06:06 -05:00
Rich Harris
5b57a17632 deconflict with globals referenced in module context 2019-01-30 13:15:21 -05:00
Rich Harris
722e1fd383 get name based on filename 2019-01-30 11:09:24 -05:00
Rich Harris
96d14a15ef
Merge pull request #2021 from sveltejs/gh-2017
rename `<svelte:meta>` to `<svelte:options>`
2019-01-29 22:29:24 -05:00
Rich Harris
bcd45c79df
Merge pull request #2023 from sveltejs/component-name-conflict
Prevent component name conflict
2019-01-29 22:26:49 -05:00
Richard Harris
d9e80738c7 fix tests 2019-01-29 22:23:49 -05:00
Richard Harris
f7d4d14f0c remove debugging output 2019-01-29 22:08:52 -05:00
Richard Harris
21a07fcaf4 prevent component name from conflicting with globals 2019-01-29 22:08:00 -05:00
Conduitry
a270661d20 rename <svelte:meta> to <svelte:options> (#2017) 2019-01-29 17:59:40 -05:00
Conduitry
67af1a203e disallow slot as a prop name in inline components (#2019) 2019-01-29 11:25:40 -05:00
Rich Harris
b1d919f3f2
Overhaul stats — closes #1891 2019-01-29 09:10:10 -05:00
Richard Harris
bcbe0a58b2 bind to store values in simple cases - fixes #1997 2019-01-27 09:22:22 -05:00
Richard Harris
cdcccfb4e4 set current = true on mount as well as intro - fixes #2000 2019-01-26 23:40:05 -05:00
Richard Harris
fcbb8e6eff failing tests for #2000 2019-01-26 22:53:40 -05:00
Rich Harris
eccc8b264d
Implement local transitions — fixes #1480 2019-01-26 22:29:01 -05:00
Rich Harris
c2e6d1bf0d
Better composition — implements https://github.com/sveltejs/rfcs/pull/12 2019-01-26 18:53:47 -05:00
Rich Harris
37351196b0
Merge pull request #2007 from sveltejs/gh-2005-evschris
Defer hoisting until after the template is walked - #2005
2019-01-26 13:30:05 -05:00
Richard Harris
f1ca1cc098 housekeeping 2019-01-26 12:50:35 -05:00
Chris Reeves
c9301dc9f7 defer hoisting until after the template is walked - fixes #2005 2019-01-26 12:40:54 -05:00
Rich Harris
82f4ae6643
Merge pull request #2003 from sveltejs/gh-2002
Make sure a hoistable name is not also shadowed when rendering and expr - #2002
2019-01-26 09:35:16 -05:00
Chris Reeves
33a2b54881 update await-block to use on_outro and check_outros - fixes #1995 2019-01-26 00:04:37 -05:00
Chris Reeves
4f630058fe check module scope when determining if a name is contextual - fixes #2001 2019-01-25 18:56:57 -05:00
Chris Reeves
33131d0b70 make sure a hoistable name is not also a shadowed name rendering an expression - fixes #2002 2019-01-25 15:18:48 -05:00
Rich Harris
ff6e378fcb
Merge pull request #1993 from sveltejs/gh-1920
prevent writing to reactive values
2019-01-20 12:19:37 -05:00
Richard Harris
b8e0cccea8 prevent writing to reactive values - fixes #1920 2019-01-19 10:16:59 -05:00
Richard Harris
3c4d8b5c2c test that private state doesnt leak into parent 2019-01-19 09:25:53 -05:00
Richard Harris
ed9df1fff3 dont use identity function to reflect props 2019-01-19 09:19:07 -05:00
Rich Harris
5be480d7ac
Merge pull request #1991 from sveltejs/gh-1952-b
hoist vars and lets that don't change
2019-01-19 08:17:13 -05:00
Rich Harris
c134ca2ee4
Merge pull request #1988 from sveltejs/gh-1976
add nextTick lifecycle function - fixes #1976
2019-01-19 08:16:52 -05:00
Richard Harris
81d9647517 hoist vars and lets - closes #1952 2019-01-18 21:40:08 -05:00
Richard Harris
8c3f652a01 fix scroll bindings 2019-01-18 21:24:17 -05:00
Richard Harris
c266051811 rename afterFlush to nextTick, schedule update if necessary 2019-01-18 21:06:24 -05:00
Richard Harris
097507796d expose add_render_callback as afterFlush - fixes #1976 2019-01-17 09:15:06 -05:00
Rich Harris
dfb661ec0d
Merge pull request #1986 from sveltejs/gh-1985
Fix adjacent tracking across adjacent scopes - #1985
2019-01-15 20:41:16 -05:00