0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
Commit Graph

1600 Commits

Author SHA1 Message Date
Richard Harris
423e4e6cbc deconflict with implicit props - fixes #1957 2019-01-04 13:48:55 -05:00
Conduitry
8427bde679 preserve attributes during preprocess (#1873) 2019-01-03 13:20:56 -05:00
Richard Harris
329b013e40 render functions that close over contextual data - fixes #1938 2019-01-01 19:08:02 -05:00
Richard Harris
e15d13bf91 allow reactive store references anywhere in script - fixes #1889 2019-01-01 18:11:41 -05:00
Richard Harris
1d9ce0fff5 update tests 2019-01-01 15:06:42 -05:00
Richard Harris
e56c5653a7 start refactoring transitions 2019-01-01 12:28:08 -05:00
Richard Harris
a7370ce024 fix test 2019-01-01 11:37:25 -05:00
Richard Harris
d58996534d start centralising rAF stuff 2018-12-31 17:45:07 -05:00
Richard Harris
dcc1996aef prevent duplicate declaration of store values - fixes #1883 2018-12-31 10:52:22 -05:00
Rich Harris
d6552025e4
fix hoisting of functions that reference imported values - fixes #1933 2018-12-31 10:48:06 -05:00
Rich Harris
c0a8e630e3
Fix media bindings, simplify others 2018-12-31 09:43:20 -05:00
Rich Harris
f8517edba9
Merge pull request #1932 from sveltejs/gh-1931
rewrite props after instrumentation
2018-12-29 14:20:03 -05:00
Rich Harris
e7642db13d
Merge pull request #1930 from sveltejs/gh-1894
whitelist process, and fallback to globals
2018-12-29 14:19:52 -05:00
Richard Harris
454ff8d84e rewrite props after instrumentation - fixes #1931 2018-12-29 13:57:39 -05:00
Richard Harris
c2d4ce3395 add process to globals whitelist 2018-12-29 13:18:19 -05:00
Richard Harris
18c2ae715f prevent false positive detection of events that can be made passive - fixes #1914 2018-12-29 10:25:01 -05:00
Rich Harris
cfb6f52f2b
Merge pull request #1925 from sveltejs/gh-1924
Prevent modification of internal state
2018-12-29 00:16:10 -05:00
Rich Harris
11e8270963
Merge pull request #1923 from sveltejs/gh-1919
make event handler names unique across components
2018-12-29 00:13:33 -05:00
Richard Harris
88c674079b always use stats.warn instead of options.onwarn - fixes #1918 2018-12-28 22:19:25 -05:00
Richard Harris
468b5dc0c4 fix tests 2018-12-28 21:57:40 -05:00
Richard Harris
ef944b5713 prevent parent component modifying child component state - fixes #1924 2018-12-28 21:45:03 -05:00
Richard Harris
fc0b49eca2 make event handler names unique across components - fixes #1919 2018-12-28 21:04:40 -05:00
Rich Harris
35f57c0212
Merge pull request #1910 from sveltejs/gh-1908
don't lump in `bind:this` with everything else
2018-12-23 16:55:40 -05:00
Rich Harris
abdbb00d6d fix test 2018-12-23 16:34:35 -05:00
Rich Harris
f16e4d3bdd dont lump in bind:this with everything else - fixes #1908 2018-12-23 16:33:03 -05:00
Rich Harris
7440fa54e9 remove missing prop warning false positives - fixes #1902 2018-12-23 14:29:18 -05:00
Rich Harris
392fec9238 only apply aliasing logic once 2018-12-23 10:38:25 -05:00
Rich Harris
1f46e23e1b
More conservative invalidation 2018-12-22 18:49:04 -05:00
Rich Harris
29052aba7d
Bring svelte.technology source into main repo 2018-12-22 16:09:27 -05:00
Conduitry
5200e2bb0e oops 2018-12-22 07:06:56 -05:00
Conduitry
cd36531e0b fix runtime tests 2018-12-22 07:03:44 -05:00
Conduitry
e671232bae maybe this? 2018-12-22 06:55:59 -05:00
Conduitry
919c0c929c maybe fix custom-elements tests 2018-12-22 00:54:53 -05:00
Conduitry
df57e508f8 use extension-less import for svelte/internal 2018-12-22 00:50:14 -05:00
Rich Harris
a2ff93cb72 glitch-free reactive stores 2018-12-16 19:49:42 -05:00
Rich Harris
f991a41d83
store auto-subscriptions 2018-12-16 14:03:20 -05:00
Rich Harris
48f1f6b4d0
implement bind:this 2018-12-16 09:26:53 -05:00
Rich Harris
f45e2b70fd
Implement reactive assignments (#1839)
This also includes elements of RFCs 2 and 3
2018-12-15 19:18:03 -05:00
Rich Harris
85b731c1bc
Merge pull request #1810 from sveltejs/gh-1809
in svelte.preprocess, replace all instances of style and script tags
2018-12-15 18:21:07 -05:00
Rich Harris
79ea0bd43c
Merge pull request #1822 from aphitiel/gh-1743
move resize handler from _beforecreate to _after.. (fixes #1743)
2018-12-15 18:14:06 -05:00
Rich Harris
327a58128a Merge branch 'await-then-catch-order' of https://github.com/RedHatter/svelte into RedHatter-await-then-catch-order 2018-12-15 17:52:12 -05:00
Rich Harris
e5ae97b9c9 use helper for combining window binding props 2018-12-15 17:45:17 -05:00
Timothy Johnson
68c2a34bda fix transition-js-await-block test 2018-11-20 13:28:31 -08:00
Timothy Johnson
0e586e39e3 added test for async block ordering (#1440) 2018-11-20 10:25:49 -08:00
Rich Harris
998d86a4e3 expose stats.props 2018-11-04 16:32:41 -05:00
pk
4d49839cce Merge branch 'test-gh-1743' into gh-1743 2018-11-04 20:26:55 +01:00
pk
fd9dc30088 Failing test for #1743
global.getComputedStyle and global.navigator are needed for
addResizeListener in shared/dom
2018-11-04 20:25:57 +01:00
Pat Cavit
cb4a46d33f fix: add check for template store to conditional (#1829)
* fix: add check for template store to conditional

* fix: move store check to generation

Per @Conduitry's request

* test: add test to ensure declative store works

* test: rename to better match functionality
2018-10-30 13:32:12 -04:00
pk
d27dbae51c move resize handler from _beforecreate to _after.. (fixes #1743) 2018-10-29 12:50:48 +01:00
Conduitry
e4e4a8d8c2 add test 2018-10-28 21:43:02 -04:00