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

432 Commits

Author SHA1 Message Date
Richard Harris
0c9ed46196 correctly set mount anchor for HTML tags - fixes #2711 2019-08-04 09:48:20 -04:00
Richard Harris
016158b692 more robust handling of html tags - fixes #3285 2019-08-03 17:01:21 -04:00
Richard Harris
4e004fdfa3 rename misnamed test, remove obsolete ones 2019-08-03 15:01:13 -04:00
Conduitry
64094f631f set data- attributes like regular attributes (#3337) 2019-08-03 13:55:43 -04:00
Conduitry
2328d5e6e8 use change event for bind:files (#3226) 2019-07-28 13:13:21 -04:00
Brian Takita
bbeafbafab fixes https://github.com/sveltejs/svelte/issues/3191
Derived store reruns subscribers if it's value has not changed when synced.

All invalidators of subscribers are run on a derived store when invalidated.

See https://github.com/sveltejs/svelte/pull/2955
2019-07-23 17:39:51 -04:00
Richard Harris
f4ca063c85 prevent dynamic components being detached twice - fixes #3113 2019-07-03 20:13:22 -04:00
Rich Harris
7a11b7531b on second thoughts 2019-07-01 11:18:56 -04:00
Maurício Kishi
9200613352
Merge branch 'master' into gh-2612 2019-06-21 17:27:48 -03:00
Rich Harris
d9046786a1
Track which blocks are outroing to prevent duplication
* track whether block is already outroing

* get tests passing

* use transition_in and transition_out helpers

* fix some stuff

* fix non-existent dynamic component outros

* another fix

* another fix

* argh so close

* NAILED IT

* remove unused code

* tidy up
2019-06-18 23:02:30 -04:00
Conduitry
3a384f004d Merge branch 'master' into gh-2612 2019-06-18 11:08:36 -04:00
Conduitry
59f04c93c5 don't grab page offsets too early 2019-06-18 11:07:00 -04:00
Conduitry
a332b648e9 update tests (#1434) (#2935) 2019-06-16 12:36:38 -04:00
Conduitry
e5d4162092 update tests 2019-06-12 21:18:33 -04:00
mrkishi
f60ae53d76 deconflict more globals 2019-06-12 18:06:03 -04:00
Conduitry
2ac5993571 import globals from helpers (#2612) (#2947) 2019-06-12 18:02:54 -04:00
Harald Fassler
4d47d2176b fix #2908 2019-05-30 17:54:18 +02:00
Rich Harris
bb153681b6
Merge pull request #2881 from sveltejs/gh-2878
dont create unknown prop warnings for $$scope etc, or if component has $$props
2019-05-27 12:23:02 +02:00
Richard Harris
dda69dbad0 update tests 2019-05-27 12:14:51 +02:00
Rich Harris
52733f3040
Merge branch 'master' into less-invalidation 2019-05-27 11:57:58 +02:00
Richard Harris
0891495647 code style 2019-05-26 14:04:29 +02:00
Richard Harris
5e3ee4e26b Merge branch 'feat/2174_dev_runtime_warning_when_passing_unknown_props' of https://github.com/colincasey/svelte into colincasey-feat/2174_dev_runtime_warning_when_passing_unknown_props 2019-05-26 14:01:33 +02:00
Rich Harris
bebed18a93
Merge pull request #2856 from sveltejs/raf
treat requestAnimationFrame as a noop on the server
2019-05-26 13:50:51 +02:00
Richard Harris
db938a4559 only invalidate referenced values 2019-05-25 18:03:41 +01:00
Richard Harris
9d53f568fa fix tests 2019-05-25 11:25:09 +01:00
Benjamin Milde
dabc9c3e53 Allow binding of <details> open 2019-05-24 17:13:58 +02:00
Colin Casey
05fb05bfae check for unknown props when creating component 2019-05-21 23:57:44 -03:00
Emil Tholin
9cd0b0761b Don't get hoisted variable from ctx when using @debug 2019-05-15 11:19:34 +02:00
Richard Harris
c988457afa use maps for keyed each block lookups - fixes #2430 2019-04-17 08:59:05 -04:00
Richard Harris
d2568aa583 skip observedAttributes where appropriate - fixes #2399 2019-04-13 15:11:03 -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
Rich Harris
a07eac432a
update API reference docs (#2206) 2019-03-29 21:49:31 -04:00
Lukas
1a1664341a add playbackrate to compilation test 2019-03-28 02:16:58 +01:00
Richard Harris
6a7721b05f replace comment anchors with empty text nodes - fixes #2280 2019-03-20 22:27:10 -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
Conduitry
a8e59d7fd7 update tests 2019-03-18 14:01:45 -04:00
Rich Harris
8feef5edfc fix 2019-03-18 10:58:34 -04:00
Rich Harris
003a56b348 implement bind:online 2019-03-18 10:43:38 -04:00
Richard Harris
2b1aa77f29 collapse consecutive whitespace characters in the absense of options.preserveWhitespace or a <pre> 2019-03-18 09:19:14 -04:00
Rich Harris
21d56c9ee3
Tidy up (#2252) 2019-03-18 09:06:01 -04:00
Richard Harris
83a9b6af23 default to accessors: false (#2144) 2019-03-17 10:29:02 -04:00
Richard Harris
bd4d561fec update test 2019-03-16 17:37:53 -04:00
Richard Harris
b162de80ce update JS tests 2019-03-16 14:47:12 -04:00
Richard Harris
ca0e5df0d8 update parser and js tests 2019-03-15 23:51:04 -04:00
Conduitry
a26b276c5e update tests 2019-03-15 18:39:02 -04:00
Richard Harris
91b9917a59 generate valid code for each block array literals (#2180) 2019-03-10 18:57:59 -04:00
Rich Harris
b604b5223c
Merge pull request #2188 from sveltejs/gh-2180
optimise iteration over array literals
2019-03-09 16:58:42 -05:00
Richard Harris
180c387c8d optimise iteration over array literals - fixes #2180 2019-03-09 15:33:43 -05:00
Rich Harris
06040d3513
Merge pull request #2185 from Panya/issue-2184
Don't invalidate `this`. Fixes #2184
2019-03-09 14:02:46 -05:00