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

178 Commits

Author SHA1 Message Date
Rich-Harris
22ac50abb6 outros on keyed each-blocks 2017-05-01 15:52:41 -04:00
Rich-Harris
7f76ab24f9 Merge branch 'master' into gh-7 2017-04-30 08:27:38 -04:00
Conduitry
f74941b293 fix simple if blocks with top-level or conditions (#532) 2017-04-27 22:58:53 -04:00
Rich-Harris
6ed2a6c785 update tests 2017-04-26 12:38:43 -04:00
Conduitry
a0284a4c67 Merge branch 'master' into gh-3 2017-04-19 18:21:56 -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
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
f82d04913f hoist variables where appropriate (#504) 2017-04-19 09:38:34 -04:00
Rich-Harris
86413ef4fa optimise simple if-blocks 2017-04-17 18:50:18 -04:00
Rich-Harris
9f2bd988a0 collapse text around comments 2017-04-17 17:40:02 -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
080afc99a8 simplify if-block switching code 2017-04-17 15:05:48 -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
b574c405eb conditionalise each-block updates 2017-04-17 10:43:44 -04:00
Rich-Harris
db7fe861b2 failing test for #381 2017-04-16 21:57:00 -04:00
Rich Harris
2852b96e65 collapse consecutive if-statements with the same condition (#450) 2017-04-10 15:10:02 -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
31269e84f0 failing test for #433 2017-04-08 17:41:26 -04:00
Rich-Harris
858c6b5e82 add gitkeep file so tests pass in CI 2017-04-08 16:12:54 -04:00
Rich Harris
f43e71b959 remove #433 test for now 2017-04-04 17:55:31 -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