Commit Graph

41 Commits (9e877d9da10bb6ed0615a655a5d1f362055c9449)

Author SHA1 Message Date
Jacob Wright 9e877d9da1 Makes immutable a component option rather than a compile option
8 years ago
Jacob Wright 9a1d87494d Removes date checks and simplifies NaN checks, adds tests
8 years ago
Conduitry 2800b5cacc update tests
8 years ago
Rich Harris d27e4734d5 Merge branch 'master' into short-method-names
8 years ago
Rich Harris 94e280e430 merge master -> gh-23
8 years ago
Rich Harris dabc2d1fdf dont wrap ESM in IIFE
8 years ago
Rich Harris 2b2a1b40ce use short method names
8 years ago
Rich Harris 1f9fc04d27 simplify module wrapping
8 years ago
Rich Harris 66ae0d9c94 use textContent and innerHTML where appropriate (#23)
8 years ago
Rich Harris 5cd76be290 various fixes
8 years ago
Rich Harris bd282df921 remove version numbers from snapshot tests
8 years ago
Rich Harris 33dbc18a10 merge master -> shared-init
8 years ago
Rich Harris bd002f94bc extract some shared init logic
8 years ago
Rich Harris 1d34bd886e put version comment above imports
8 years ago
Rich Harris 6e57fa3ced add debugging comments
8 years ago
Rich Harris fbbaff5404 typo
8 years ago
Rich Harris 073cbc0460 update some tests
8 years ago
Rich Harris e993ae0748 more consistent style for generated code
8 years ago
Rich Harris 5f5f09b94e update snapshot tests
8 years ago
Andrew Worcester caa67b5325 updated tests to reflect anchor change
8 years ago
Rich Harris 8818357fc4 tidy up
8 years ago
Rich Harris 427a0b5925 update tests
8 years ago
Rich Harris fd3792bd60 replace destroy with noop on destroy
8 years ago
Rich Harris 86fb0e4ced handle set after destroy, and move destroy into shared helpers
8 years ago
Rich Harris fef2367c11 rename to select_block_type and current_block_type
8 years ago
Rich Harris 177e7d09c3 hoist if block selectors
8 years ago
Rich Harris 962f04f4bf dont throw error if component is destroyed twice (closes #643)
8 years ago
Rich Harris 0250398ee6 update tests
8 years ago
Rich Harris e9516abffd fix bad indentation in generated code
8 years ago
Paul Sauve dc0dedf3fe Fix #643
8 years ago
Rich Harris c4b68ca8cb remove TODO
8 years ago
Rich Harris 288d1c9d74 update tests
8 years ago
Rich-Harris 6dfb568d2a fix insertion order of if blocks and their anchors
8 years ago
Rich Harris 3a7f7e29c2 Merge pull request #559 from sveltejs/simpler-codegen
8 years ago
Rich-Harris d8364f6e0a remove unnecessary if statement
8 years ago
Rich-Harris c1a1a01bf0 generate less code for if-blocks with else-blocks (closes #540)
8 years ago
Rich-Harris 6ed2a6c785 update tests
8 years ago
Rich-Harris d274d08734 only create anchors for if blocks when necessary
9 years ago
Rich-Harris e345287a76 rename root to state, and allow state to be used as context
9 years ago
Rich-Harris 080afc99a8 simplify if-block switching code
9 years ago
Rich-Harris 950f2ce2fd dont update static subtrees, even with a noop
9 years ago