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

1070 Commits

Author SHA1 Message Date
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
1fd3c21194 Merge pull request #511 from sveltejs/gh-507
rename root to state, and allow state to be used as context
2017-04-19 18:08:11 -04:00
Rich Harris
bfe9904db7 Update expected.js 2017-04-19 18:01:55 -04:00
Rich Harris
5f2846ae00 Merge branch 'master' into gh-507 2017-04-19 17:30:39 -04:00
Rich Harris
e627875793 Merge pull request #510 from sveltejs/gh-509
null out else block references when they are destroyed
2017-04-19 17:28:44 -04:00
Rich Harris
7f9d91f435 Merge pull request #506 from sveltejs/gh-504
hoist variables where appropriate
2017-04-19 17:28:20 -04:00
Rich-Harris
4cb1578147 reduce indirection 2017-04-19 14:10:00 -04:00
Rich-Harris
6587cbdbac yield blocks never need an anchor 2017-04-19 14:07:55 -04:00
Rich-Harris
9480f349ec anchor-less each blocks 2017-04-19 14:05:34 -04:00
Rich-Harris
d274d08734 only create anchors for if blocks when necessary 2017-04-19 13:52:36 -04:00
Rich-Harris
162281ef4f populate state in preprocess step, including naming DOM nodes 2017-04-19 12:39:01 -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
4012414fa7 -> v1.17.0 2017-04-19 10:13:52 -04:00
Rich-Harris
f82d04913f hoist variables where appropriate (#504) 2017-04-19 09:38:34 -04:00
Rich Harris
cf86d8cff6 Merge pull request #503 from sveltejs/restart-audio
prevent bindings interfering with each other on the same element
2017-04-19 09:09:50 -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
1dfd72cc28 use existing node.initialUpdate mechanism 2017-04-19 09:07:12 -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
a4acbe2e8e prevent bindings interfering with each other on the same element 2017-04-19 08:42:42 -04:00
Taylor Zane Glaeser
0466f3874c Added block to create method that will initialize a select element with the value bound to value. 2017-04-19 00:16:31 -05: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
629584d7e9 use string keypath, not sourcemappable snippet, for determining binding groups — fixes #498 2017-04-18 22:10:53 -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
c40966fdc7 Merge branch 'master' into gh-495 2017-04-18 21:39:15 -04:00
Rich-Harris
61cbd4fa97 fix annoying SSR test failures with solo tests 2017-04-18 21:38:30 -04:00
Rich-Harris
52a30dc8e3 failing test for #495 2017-04-18 21:34:20 -04:00
Rich Harris
f9432d1a69 Merge pull request #496 from sveltejs/gh-406
Implement media element bindings
2017-04-18 21:29:40 -04:00
Rich Harris
e1a1e6507a Merge branch 'master' into gh-406 2017-04-18 21:21:48 -04:00
Rich Harris
386cb8b599 Merge pull request #497 from sveltejs/window-events
allow window events to access state
2017-04-18 21:21:02 -04:00
Rich Harris
771dacc44c Merge pull request #494 from sveltejs/validate-bindings
validate bindings
2017-04-18 21:20:33 -04:00
Rich-Harris
e306366f8c use map rather than object 2017-04-18 19:12:27 -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
ed1ac48c00 prevent audio restarting when it reaches the end 2017-04-18 15:22:57 -04:00
Rich-Harris
fffd9ffd64 prevent timer proliferation 2017-04-18 15:15:33 -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
b914a2294a validate bindings 2017-04-18 10:12:03 -04:00
Rich Harris
3d576582da Merge pull request #493 from sveltejs/gh-492
Don't treat helpers as dependencies
2017-04-18 08:54:22 -04:00
Rich-Harris
b9e097f830 make all tests run 2017-04-18 08:33:24 -04:00