Commit Graph

44 Commits (12ab482802b7069f1452b7d1fc81dc9f337fcae4)

Author SHA1 Message Date
Rich Harris e1d52398d9 merge
9 years ago
ekhaled 7f4cc3c2af fix snapshots for the actual mounting code
9 years ago
ekhaled 61ad7bcaeb fix snapshots
9 years ago
Conduitry 517621bea1 update js if-block-no-update test
9 years ago
Rich Harris f674561331 update tests
9 years ago
Conduitry bb311d8d22 update tests
9 years ago
Rich Harris 22e4d0c5a0 Merge branch 'master' into short-method-names
9 years ago
Rich Harris d100014327 merge master -> gh-23
9 years ago
Rich Harris 14e1c20dee dont wrap ESM in IIFE
9 years ago
Rich Harris b6a5994ce7 use short method names
9 years ago
Rich Harris c765ec6acc simplify module wrapping
9 years ago
Rich Harris 309ff0fe35 use textContent and innerHTML where appropriate (#23)
9 years ago
Rich Harris 2429d93f52 various fixes
9 years ago
Rich Harris 54ae5f1dcb remove version numbers from snapshot tests
9 years ago
Rich Harris e59a12a6b1 merge master -> shared-init
9 years ago
Rich Harris c47d2bd88d extract some shared init logic
9 years ago
Rich Harris ddbcebab43 put version comment above imports
9 years ago
Rich Harris ef787b84c9 add debugging comments
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 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 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