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

151 Commits

Author SHA1 Message Date
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