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

301 Commits

Author SHA1 Message Date
Richard Harris
a8e0a471af remove eval format - closes #2084 2019-02-17 10:37:19 -05:00
Rich Harris
15931af63e
Merge pull request #2082 from sveltejs/gh-2076
fix #2076
2019-02-17 11:06:21 -04:00
Rich Harris
a50c84ea36 remove internal gubbins when using bind:props - fixes #2038 2019-02-14 18:48:37 -04:00
Rich Harris
a8fcc72d43 fix #2076 2019-02-14 17:55:08 -04: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
cb2799d1ef only escape attribute values when rendering HTML 2019-02-07 11:54:40 -05:00
Rich Harris
bf16bb89c3 only do dirty check for writable values - fixes #2052 2019-02-07 11:43:34 -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
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
5b57a17632 deconflict with globals referenced in module context 2019-01-30 13:15:21 -05:00
Rich Harris
2703f609a5 avoid spread pattern, it causes some problems with some setups somehow??? 2019-01-30 12:08:09 -05:00
Rich Harris
0d2622da49 sanitize 2019-01-30 11:14:01 -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
21a07fcaf4 prevent component name from conflicting with globals 2019-01-29 22:08:00 -05:00
Conduitry
5b9cc176df rename properties to component.compileOptions and .componentOptions 2019-01-29 20:52:46 -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
Rich Harris
eccc8b264d
Implement local transitions — fixes #1480 2019-01-26 22:29:01 -05:00
Richard Harris
ebd0b5ed0f update rollup-plugin-sucrase 2019-01-26 20:52:56 -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
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
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
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
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
Conduitry
2368dff5f8 typos 2019-01-15 20:25:55 -05:00
Chris Reeves
df7c449bd3 propagate mutation change tracking upward through deps so that adjacent scopes generate proper update code - fixes #1985 2019-01-15 18:08:53 -05:00
Richard Harris
3359b5fb3a set immutable option correctly - fixes #1968 2019-01-15 09:32:06 -05:00
Rich Harris
0f9ea4a4f4
Merge pull request #1974 from evs-chris/gh-1916-evschris
Attempt at #1916, including update handling
2019-01-13 16:50:49 -05:00
Rich Harris
f3701794be
Merge pull request #1978 from evs-chris/gh-1977-evschris
Render default slot content event handlers conditionally (with bonus) - #1977
2019-01-13 16:43:25 -05:00
Rich Harris
4c9a55cb66
Merge pull request #1980 from evs-chris/gh-1952-evschris
First pass at tracking mutation to avoid unnecessary update code - #1952
2019-01-13 16:38:33 -05:00
Rich Harris
678ce3496f
Merge pull request #1966 from sveltejs/gh-1945
fix dynamic component event code generation
2019-01-13 14:29:54 -05:00