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

1038 Commits

Author SHA1 Message Date
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
Rich-Harris
a010778ac6 helpers should not be considered dependencies — fixes #492 2017-04-18 08:31:48 -04:00
Rich-Harris
d8cec7f414 style consistency 2017-04-18 08:19:04 -04:00
Rich-Harris
7f2dab6b4f -> v1.16.0 2017-04-17 19:32:27 -04:00
Rich Harris
ffe040a990 Merge pull request #491 from sveltejs/misc-fixes
Misc fixes
2017-04-17 19:24:42 -04:00
Rich-Harris
86413ef4fa optimise simple if-blocks 2017-04-17 18:50:18 -04:00
Rich-Harris
67fa013604 implement block.alias, so consecutive each-blocks dont get i, i_1, i_2... 2017-04-17 17:43:11 -04:00
Rich-Harris
9f2bd988a0 collapse text around comments 2017-04-17 17:40:02 -04:00
Rich-Harris
a59e017fad separate if statements in codebuilder 2017-04-17 16:56:53 -04:00
Rich-Harris
3629c9e9a1 exclude indexes from dependencies 2017-04-17 16:45:49 -04:00
Rich-Harris
0c013cfd9b use correct dependencies for each-block updates 2017-04-17 16:15:36 -04:00
Rich-Harris
9f2a20763a dont create yield block for childless component 2017-04-17 15:54:05 -04:00
Rich Harris
fc31d39a64 Merge pull request #490 from sveltejs/gh-472
Only update dynamic subtrees
2017-04-17 15:16:09 -04:00
Rich Harris
aeedb94d97 Merge pull request #489 from sveltejs/gh-381
Only update each blocks when their dependencies have changed
2017-04-17 15:15:42 -04:00
Rich-Harris
080afc99a8 simplify if-block switching code 2017-04-17 15:05:48 -04:00
Rich-Harris
b7a40879a7 remove some unused code 2017-04-17 14:55:42 -04:00
Rich-Harris
49bea1b489 dont recompute dependencies 2017-04-17 14:51:05 -04:00
Rich-Harris
f8f32a13ba contextualise is only called once per expression 2017-04-17 14:39:03 -04:00
Rich-Harris
c9a2bf98a5 rename some variables so that they make more sense 2017-04-17 14:26:09 -04:00
Rich-Harris
2e7a429684 get rid of tmp variable, we dont need it 2017-04-17 14:02:09 -04:00
Rich-Harris
950f2ce2fd dont update static subtrees, even with a noop 2017-04-17 13:06:51 -04:00
Rich-Harris
92b49eed4e more tidying up 2017-04-17 11:49:59 -04:00
Rich-Harris
c7f15738ee create all blocks in preprocess step 2017-04-17 11:15:42 -04:00
Rich-Harris
906b5319e6 create each-block else child blocks in preprocess step 2017-04-17 11:09:30 -04:00
Rich-Harris
3cfb823076 tidy up 2017-04-17 10:56:21 -04:00
Rich-Harris
7132551183 factor in attributes and bindings 2017-04-17 10:54:02 -04:00
Rich-Harris
b574c405eb conditionalise each-block updates 2017-04-17 10:43:44 -04:00
Rich-Harris
ab19649dfa preprocess template, so that we can discover dependencies ahead of time 2017-04-17 09:51:53 -04:00
Rich-Harris
d00348d3d6 reduce noise a bit 2017-04-17 08:46:10 -04:00
Rich-Harris
30d4c1c166 less indirection when mounting 2017-04-17 08:23:50 -04:00
Rich-Harris
1d5018bf1e tame each-block code a bit 2017-04-16 22:57:18 -04:00
Rich-Harris
3d259f46ee rename some things so they make more sense 2017-04-16 21:57:40 -04:00
Rich-Harris
db7fe861b2 failing test for #381 2017-04-16 21:57:00 -04:00