Commit Graph

55 Commits (c47d2bd88dbf123735362e6f630ffb5ff4303c70)

Author SHA1 Message Date
Rich Harris c47d2bd88d extract some shared init logic
9 years ago
Rich Harris baa4dbf640 typo
9 years ago
Rich Harris 9f3f35e37b update some tests
9 years ago
Rich Harris bc69c67e23 more consistent style for generated code
9 years ago
Rich Harris b4b4197032 handly directly instantiated custom elements, and slots
9 years ago
Rich Harris 9e5f871550 update tests
9 years ago
Rich Harris cbfc609064 scoped styles
9 years ago
Rich Harris 8f31f96edc dont noop set/get until after component is destroyed (fixes #788)
9 years ago
Rich Harris 0cfc67ca11 only use noscript if necessary
9 years ago
Rich Harris e759dad2cd update snapshot tests
9 years ago
Andrew Worcester 186fa2701f updated tests to reflect anchor change
9 years ago
Rich Harris 5b28edf156 tidy up
9 years ago
Rich Harris f63a07f139 we can now do changed.foo instead of "foo" in changed - is faster and smaller
9 years ago
Rich Harris dd8cc8c194 tidy up, dedupe a bit
9 years ago
Rich Harris 2f0abaa719 apply optimisation to raw tags
9 years ago
Rich Harris 0df91d9a5d update tests
9 years ago
Rich Harris ba2b6838f3 update tests
9 years ago
Rich Harris a2e85aec1d replace destroy with noop on destroy
9 years ago
Rich Harris 6ae5e32371 update tests
9 years ago
Rich Harris 92766ee9e7 handle set after destroy, and move destroy into shared helpers
9 years ago
Rich Harris 714a267837 dont throw error if component is destroyed twice (closes #643)
9 years ago
Rich Harris 8ebbe52c65 update tests
9 years ago
Rich Harris 3f38efcf09 update tests
9 years ago
Rich Harris 84503ced19 tidy up
9 years ago
Rich Harris ae9de0f25e remove _flush in favour of callAll
9 years ago
Rich Harris f505a07384 fire intro.start and outro.start events (#702)
9 years ago
Rich Harris b37cfd37f2 rename _renderHooks to _oncreate, since thats all its used for
9 years ago
Rich Harris 6a1248334b update tests
9 years ago
Rich Harris f92b33c130 run prettier on src, update tests
9 years ago
Rich Harris 8458a3f9e2 merge master -> gh-592
9 years ago
Rich Harris ac94286897 Merge branch 'fix-each-block' of https://github.com/hperrin/svelte into hperrin-fix-each-block
9 years ago
Hunter Perrin eb71c440a4 Fixed each block producing elements in wrong order after change. Fixes #610.
9 years ago
Rich Harris 14c42114fe update tests to use new assign helper
9 years ago
Rich Harris bc1f416121 remove TODO
9 years ago
Rich Harris 7d4dcdf531 update tests
9 years ago
Rich Harris c61db3c898 remove some files from repo
9 years ago
Rich Harris cd76c110f7 make transitionManager treeshakeable (fixes #593)
9 years ago
Rich Harris 18f5e06e83 compare bundled output with expectations
9 years ago
Rich-Harris 13607ebe89 dont store keyed block iterations in an array
9 years ago
Rich-Harris 72b7b3447e remove unnecessary if statement
9 years ago
Rich-Harris 3871627d63 outros on keyed each-blocks
9 years ago
Rich-Harris 339d2987fc update tests
9 years ago
Conduitry 7969409ae6 Merge branch 'master' into gh-3
9 years ago
Rich Harris b05dbdb9e2 Update expected.js
9 years ago
Rich Harris a52f40eb82 Merge branch 'master' into gh-507
9 years ago
Rich-Harris 84cac6bbd9 anchor-less each blocks
9 years ago
Rich-Harris 6ff83a4127 rename root to state, and allow state to be used as context
9 years ago
Rich-Harris 54047c31bf hoist variables where appropriate (#504)
9 years ago
Rich-Harris 6f5f961c8a exclude indexes from dependencies
9 years ago
Rich-Harris df468e3afb use correct dependencies for each-block updates
9 years ago