Commit Graph

46 Commits (9d8f2c466f2e18b9ebdaa8a946381d2b24d003de)

Author SHA1 Message Date
Rich Harris 1d34bd886e put version comment above imports
9 years ago
Rich Harris 6e57fa3ced add debugging comments
9 years ago
Rich Harris fbbaff5404 typo
9 years ago
Rich Harris 073cbc0460 update some tests
9 years ago
Rich Harris e993ae0748 more consistent style for generated code
9 years ago
Rich Harris 2380109f15 handly directly instantiated custom elements, and slots
9 years ago
Rich Harris 824998fdaa update tests
9 years ago
Rich Harris f5f35b5a50 scoped styles
9 years ago
Rich Harris f5958584d9 dont noop set/get until after component is destroyed (fixes #788)
9 years ago
Rich Harris 5f5f09b94e update snapshot tests
9 years ago
Andrew Worcester caa67b5325 updated tests to reflect anchor change
9 years ago
Rich Harris 8818357fc4 tidy up
9 years ago
Rich Harris 3daa7aa6b3 we can now do changed.foo instead of "foo" in changed - is faster and smaller
9 years ago
Rich Harris 427a0b5925 update tests
9 years ago
Rich Harris fd3792bd60 replace destroy with noop on destroy
9 years ago
Rich Harris 44b73191c7 update tests
9 years ago
Rich Harris 86fb0e4ced handle set after destroy, and move destroy into shared helpers
9 years ago
Rich Harris fef2367c11 rename to select_block_type and current_block_type
9 years ago
Rich Harris 177e7d09c3 hoist if block selectors
9 years ago
Rich Harris 962f04f4bf dont throw error if component is destroyed twice (closes #643)
9 years ago
Rich Harris 9085c0a22a update tests
9 years ago
Rich Harris 3f73f252ac update tests
9 years ago
Rich Harris 1733966d18 tidy up
9 years ago
Rich Harris 84e6d0c5b7 remove _flush in favour of callAll
9 years ago
Rich Harris e9f17f34ff fire intro.start and outro.start events (#702)
9 years ago
Rich Harris d89d70e7a3 rename _renderHooks to _oncreate, since thats all its used for
9 years ago
Rich Harris 0250398ee6 update tests
9 years ago
Rich Harris e9516abffd fix bad indentation in generated code
9 years ago
Paul Sauve dc0dedf3fe Fix #643
9 years ago
Rich Harris 84595fb381 run prettier on src, update tests
10 years ago
Rich Harris 3b70920991 merge master -> gh-592
10 years ago
Rich Harris a538f7a071 update tests to use new assign helper
10 years ago
Rich Harris c4b68ca8cb remove TODO
10 years ago
Rich Harris 288d1c9d74 update tests
10 years ago
Rich Harris 739a832c37 remove some files from repo
10 years ago
Rich Harris 015ef56b18 make transitionManager treeshakeable (fixes #593)
10 years ago
Rich Harris 34170a5e76 compare bundled output with expectations
10 years ago
Rich-Harris 6dfb568d2a fix insertion order of if blocks and their anchors
10 years ago
Rich Harris 3a7f7e29c2 Merge pull request #559 from sveltejs/simpler-codegen
10 years ago
Rich-Harris d8364f6e0a remove unnecessary if statement
10 years ago
Rich-Harris c1a1a01bf0 generate less code for if-blocks with else-blocks (closes #540)
10 years ago
Rich-Harris 6ed2a6c785 update tests
10 years ago
Rich-Harris d274d08734 only create anchors for if blocks when necessary
10 years ago
Rich-Harris e345287a76 rename root to state, and allow state to be used as context
10 years ago
Rich-Harris 080afc99a8 simplify if-block switching code
10 years ago
Rich-Harris 950f2ce2fd dont update static subtrees, even with a noop
10 years ago