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

170 Commits

Author SHA1 Message Date
Rich-Harris
dfe00d8627 support dynamic simple if-blocks 2017-05-01 08:48:42 -04:00
Rich-Harris
26ed67267c some more transition tests, albeit somewhat ugly 2017-04-30 23:14:47 -04:00
Rich-Harris
5bee31fde6 get basic intro transition test passing 2017-04-30 22:44:23 -04:00
Rich-Harris
7f76ab24f9 Merge branch 'master' into gh-7 2017-04-30 08:27:38 -04:00
Rich Harris
ca3fd8d96e Merge pull request #536 from sveltejs/gh-534
fix parsing of expressions wrapped in parentheses (#534)
2017-04-30 07:57:02 -04:00
Conduitry
a5dce59735 fix parsing of expressions wrapped in parentheses (#534) 2017-04-29 22:51:10 -04:00
Conduitry
f74941b293 fix simple if blocks with top-level or conditions (#532) 2017-04-27 22:58:53 -04:00
Rich-Harris
9df2243784 Merge branch 'master' into gh-7 2017-04-25 17:24:41 -04:00
Rich Harris
ae75bef3c9 Merge pull request #527 from sveltejs/gh-524
fix for #524
2017-04-25 17:22:12 -04:00
Rich-Harris
11d8698184 fix for #524 2017-04-25 16:57:59 -04:00
Rich-Harris
754688cf48 include destroy as valid built-in method for event handlers (fixes #523) 2017-04-25 16:30:19 -04:00
Rich-Harris
4fa776561d failing test for intro transition 2017-04-25 16:10:41 -04:00
Rich Harris
11cf3f94f0 Merge branch 'master' into gh-3 2017-04-25 15:00:07 -04:00
Rich-Harris
1cd2287c94 skip <select> test 2017-04-25 14:43:18 -04:00
Conduitry
51cd9e8aba fix unit test? 2017-04-21 14:28:14 -04:00
Tobias Davis
33fb0df51a failing test for bound event handler on <select> elements 2017-04-21 13:27:14 -04:00
Conduitry
2bc223a936 replace invalid characters in element names when creating variables (#516) 2017-04-20 14:54:07 -04:00
Conduitry
2adfa2e92e only call .update on yield fragment if it's present (#514) 2017-04-20 05:55:27 -04:00
Conduitry
a0284a4c67 Merge branch 'master' into gh-3 2017-04-19 18:21:56 -04:00
Rich Harris
5f2846ae00 Merge branch 'master' into gh-507 2017-04-19 17:30:39 -04:00
Rich-Harris
d274d08734 only create anchors for if blocks when necessary 2017-04-19 13:52:36 -04:00
Rich-Harris
e345287a76 rename root to state, and allow state to be used as context 2017-04-19 11:35:57 -04:00
Rich-Harris
a0a7583fb8 null out else block references when they are destroyed — fixes #509 2017-04-19 10:39:45 -04:00
Rich Harris
6b2c9279cb Merge pull request #501 from sveltejs/gh-498-b
allow dynamic each-block to have static else-block
2017-04-19 09:09:31 -04:00
Rich Harris
1a96dd3e5c Merge pull request #500 from sveltejs/gh-498
Correctly group checkbox inputs together
2017-04-19 09:09:14 -04:00
Rich Harris
0ed26a8076 Merge pull request #499 from sveltejs/gh-495
Deconflict variable names used in binding event handlers
2017-04-19 09:08:58 -04:00
Rich-Harris
634ea662d3 formatting 2017-04-19 09:06:57 -04:00
Rich-Harris
472a5f752d Merge branch 'master' of https://github.com/saibotsivad/svelte into taylorzane-hotfix/initialize-select-element 2017-04-19 09:00:29 -04:00
Rich-Harris
872e90474c whoops 2017-04-18 22:26:33 -04:00
Rich-Harris
fce3f342fb allow dynamic each-block to have static else-block 2017-04-18 22:21:15 -04:00
Rich-Harris
0dac01ce4b failing test for #498 2017-04-18 22:07:43 -04:00
Rich-Harris
b0095bda9d ensure var names in binding callbacks are unique — fixes #495 2017-04-18 21:54:29 -04:00
Rich-Harris
52a30dc8e3 failing test for #495 2017-04-18 21:34:20 -04:00
Tobias Davis
d00bd8ac67 add failing test for bound select elements 2017-04-18 15:38:49 -05:00
Rich-Harris
f0b6bec298 dont try to test audio stuff in JSDOM 2017-04-18 15:49:45 -04:00
Rich-Harris
14826b76e5 Merge branch 'window-events' into gh-406 2017-04-18 14:23:31 -04:00
Rich-Harris
a4ba3e4acf reenable all tests 2017-04-18 13:54:42 -04:00
Rich-Harris
f1bef92e9b allow window events to access state 2017-04-18 13:51:39 -04:00
Rich-Harris
1040db97cb implement bind:duration and bind:paused 2017-04-18 13:30:25 -04:00
Rich-Harris
359e67617d implement bind:currentTime 2017-04-18 10:56:48 -04:00
Rich-Harris
b9e097f830 make all tests run 2017-04-18 08:33:24 -04:00
Rich-Harris
a010778ac6 helpers should not be considered dependencies — fixes #492 2017-04-18 08:31:48 -04:00
Rich-Harris
92b49eed4e more tidying up 2017-04-17 11:49:59 -04:00
Rich-Harris
7a3611b5df wait this is actually way easier 2017-04-16 20:41:28 -04:00
Rich-Harris
4c3aa0a36f prevent component binding blowback on initial render 2017-04-16 19:59:27 -04:00
Rich-Harris
ef52a93699 ensure binding event handlers precede normal ones (fixes #486) 2017-04-16 14:21:36 -04:00
Rich-Harris
e56f09dfe5 clone before set — fixes #479 2017-04-13 22:27:45 -04:00
Rich-Harris
02e55e8f7a update select value bindings at the end of the cycle (fixes #476) 2017-04-12 19:55:04 -04:00
Conduitry
c6304b19f7 only warn on missing properties in dev mode, do not warn on whitelisted globals 2017-04-12 18:56:41 -04:00
Rich-Harris
a47a679e38 replace all invalid characters in attribute names when creating variables (fixes #470) 2017-04-12 08:27:52 -04:00
Rich Harris
faa287f5f3 Merge pull request #468 from sveltejs/gh-465
[WIP] catch hardcoded names that should be aliases
2017-04-11 11:56:28 -04:00
Rich Harris
79b5ce090e Merge branch 'master' into gh-465 2017-04-11 11:05:42 -04:00
Rich Harris
7176001963 Merge branch 'master' into readonly-dev-warning 2017-04-11 11:04:45 -04:00
Rich Harris
229d9f0a5f Merge pull request #461 from sveltejs/gh-404-scroll
window scroll bindings are bidirectional
2017-04-11 11:03:53 -04:00
Rich Harris
a793398d63 catch hardcoded names that should be aliases (#465) 2017-04-11 10:09:56 -04:00
Rich Harris
352bb3d354 ensure hoisted event handler names are globally unique — fixes #466 2017-04-11 09:38:34 -04:00
Rich Harris
c61ce134df move some tests to where they belong 2017-04-11 09:25:56 -04:00
Rich Harris
5f2c6e3c19 merge master -> readonly-dev-warning 2017-04-10 17:54:29 -04:00
Rich Harris
8b38b2b802 throw if user sets read-only properties in dev mode 2017-04-10 17:47:47 -04:00
Rich Harris
783cd383e3 window scroll bindings are bidirectional (#404) 2017-04-10 16:08:19 -04:00
Rich Harris
182a04e8fc dont create whitespace nodes inside elements like <select> (#189) 2017-04-10 14:54:19 -04:00
Rich Harris
93e51d6ef3 correctly bind one-way select value attributes (#423) 2017-04-10 13:50:12 -04:00
Rich Harris
1e2c8593f2 hoist some event handlers, rewrite non-hoisted ones to avoid binding 2017-04-10 11:26:06 -04:00
Rich-Harris
731f09d173 Merge branch 'master' into refactor 2017-04-08 17:26:07 -04:00
Rich-Harris
421f3d698f separate current *fragment* from current *generator state* 2017-04-08 14:37:29 -04:00
Rich-Harris
d93a3698fb all tests passing once more. now the real work begins 2017-04-08 12:42:27 -04:00
Rich Harris
c0442b5eb1 another horrible half-done commit 2017-04-07 16:23:28 -04:00
Rich Harris
063e76f322 baby steps... 2017-04-06 16:45:18 -04:00
Rich Harris
11033c2f20 minor test tweaks 2017-04-06 15:45:26 -04:00
Rich Harris
803d1d2746 move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 2017-04-04 12:05:54 -04:00