Commit Graph

21 Commits (5b28edf1565b386441271583ee2bbe47c5c6713d)

Author SHA1 Message Date
Rich Harris 5b28edf156 tidy up
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 92766ee9e7 handle set after destroy, and move destroy into shared helpers
9 years ago
Rich Harris a2f2bf09bc rename to select_block_type and current_block_type
9 years ago
Rich Harris 30eceebb13 hoist if block selectors
9 years ago
Rich Harris 714a267837 dont throw error if component is destroyed twice (closes #643)
9 years ago
Rich Harris 6a1248334b update tests
9 years ago
Rich Harris 30bbbc5c30 fix bad indentation in generated code
9 years ago
Paul Sauve 62b42db6cf Fix #643
9 years ago
Rich Harris bc1f416121 remove TODO
9 years ago
Rich Harris 7d4dcdf531 update tests
9 years ago
Rich-Harris 735bd21550 fix insertion order of if blocks and their anchors
9 years ago
Rich Harris 41a5a53be5 Merge pull request #559 from sveltejs/simpler-codegen
9 years ago
Rich-Harris 72b7b3447e remove unnecessary if statement
9 years ago
Rich-Harris 64dbd45601 generate less code for if-blocks with else-blocks (closes #540)
9 years ago
Rich-Harris 339d2987fc update tests
9 years ago
Rich-Harris e903ff69fc only create anchors for if blocks when necessary
9 years ago
Rich-Harris 6ff83a4127 rename root to state, and allow state to be used as context
9 years ago
Rich-Harris aa67df7fbb simplify if-block switching code
9 years ago
Rich-Harris f75a2f0aba dont update static subtrees, even with a noop
9 years ago