Commit Graph

161 Commits (5ccfc3c5d7a29fe6df1cb109df8d0e7868d0ea51)

Author SHA1 Message Date
Rich Harris f0bf1ef8d5 recalculate each block values lazily - fixes #1286
6 years ago
Rich Harris 86d3476b55 minor fixes, update various tests
6 years ago
Rich Harris f8b076b2f3 set state to blank object on destroy, not null - fixes #1354
6 years ago
Rich Harris ab79cc6608 remove v1 snapshot tests
7 years ago
Rich Harris df4e3678dc update snapshot tests
7 years ago
Rich Harris daa2635cd3 update snapshot tests
7 years ago
Rich Harris c1573dbf2c implement onstate and onupdate
7 years ago
Rich Harris bb61e6e911 v2 js tests
7 years ago
Rich-Harris 36290cb6cd component spread
7 years ago
Luke Edwards a412f11907 update test samples’ expectants
7 years ago
Rich Harris ce607d5ab3 add local variable for list values - fixes #1240
7 years ago
Rich Harris d680356622 update test
7 years ago
ekhaled 2e9cd4742c fix snapshots for the actual mounting code
7 years ago
ekhaled 270be984ac fix bundle snapshots
7 years ago
ekhaled 2e3724f7d3 fix snapshots
7 years ago
Rich Harris 94c76308a1 update deps to get tests to pass again
7 years ago
Rich Harris d162ce9968 Merge branch 'master' into gh-1122
7 years ago
Rich Harris 1b599bd57b put _differs on prototype, remove runtime option
7 years ago
Rich Harris 27f6d560b5 remove some unused code etc
7 years ago
Rich Harris 7baba8bf8c all tests passing
7 years ago
Rich Harris b94f63ed70 everything working except some destructuring stuff
7 years ago
Rich Harris c0292cbca1 update tests
7 years ago
Jacob Wright 405c4f6371 Adding compiler option for immutable back in
7 years ago
Jacob Wright 9e877d9da1 Makes immutable a component option rather than a compile option
7 years ago
Jacob Wright 9a1d87494d Removes date checks and simplifies NaN checks, adds tests
7 years ago
Jacob Wright d2f8e472a5 Add support to computed and store for immutable structures
7 years ago
Rich Harris d411a82a32 update snapshot tests
7 years ago
Rich Harris ca7e90083e can just use options here
7 years ago
Emil Ajdyna d398b34a41 Add state() method handling for components
7 years ago
Rich Harris 394dec9f11
Merge pull request #1024 from sveltejs/gh-1013
7 years ago
Rich Harris 8a3898c6cb fix unrelated bug that was causing tests to fail
7 years ago
Emil Ajdyna fadeeaf177 Expose root as a public property
7 years ago
Rich Harris 75e911b05a update snapshot tests
7 years ago
Rich Harris 775866780e
combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
7 years ago
Rich Harris fb675fd5e3 update snapshot tests
7 years ago
Rich Harris f659fd8391 remove unused _yield property
7 years ago
Conduitry 2800b5cacc update tests
7 years ago
Rich Harris d27e4734d5 Merge branch 'master' into short-method-names
7 years ago
Rich Harris dabc2d1fdf dont wrap ESM in IIFE
7 years ago
Rich Harris 2da0e252c7 merge master => iife
7 years ago
Rich Harris 2b2a1b40ce use short method names
7 years ago
Rich Harris c8f094cf80 remove unused destroyEach and destroy arguments
7 years ago
Rich Harris 1f9fc04d27 simplify module wrapping
7 years ago
Rich Harris fdd7ac71c2 Merge branch 'master' into iife
7 years ago
Rich Harris 5d84a93c99 shorten each block var names
7 years ago
Rich Harris 4f1d48c4a6 more readable each block values
7 years ago
Rich Harris 74d84d81e9 remove incorrect argument
7 years ago
Rich Harris 5cd76be290 various fixes
7 years ago
Rich Harris 6b70825ac3 Merge pull request #856 from sveltejs/remove-is-initial
7 years ago
Rich Harris bd282df921 remove version numbers from snapshot tests
7 years ago
Rich Harris 4d6e95d799 update snapshot tests
7 years ago
Rich Harris b1cbffece6 remove excess parentheses
7 years ago
Rich Harris 33dbc18a10 merge master -> shared-init
7 years ago
Rich Harris 0b71a93779 update tests
7 years ago
Rich Harris bd002f94bc extract some shared init logic
7 years ago
Rich Harris 1d34bd886e put version comment above imports
7 years ago
Rich Harris 6e57fa3ced add debugging comments
7 years ago
Rich Harris fbbaff5404 typo
7 years ago
Rich Harris 073cbc0460 update some tests
7 years ago
Rich Harris e993ae0748 more consistent style for generated code
7 years ago
Rich Harris 2380109f15 handly directly instantiated custom elements, and slots
7 years ago
Rich Harris 824998fdaa update tests
7 years ago
Rich Harris f5f35b5a50 scoped styles
7 years ago
Rich Harris f5958584d9 dont noop set/get until after component is destroyed (fixes #788)
7 years ago
Rich Harris 6499d4714d only use noscript if necessary
7 years ago
Rich Harris 5f5f09b94e update snapshot tests
7 years ago
Andrew Worcester caa67b5325 updated tests to reflect anchor change
7 years ago
Rich Harris 8818357fc4 tidy up
7 years ago
Rich Harris 3daa7aa6b3 we can now do changed.foo instead of "foo" in changed - is faster and smaller
7 years ago
Rich Harris f31c206b73 tidy up, dedupe a bit
7 years ago
Rich Harris 4dd5fc5594 apply optimisation to raw tags
7 years ago
Rich Harris 5636506fc0 update tests
7 years ago
Rich Harris 427a0b5925 update tests
7 years ago
Rich Harris fd3792bd60 replace destroy with noop on destroy
7 years ago
Rich Harris 44b73191c7 update tests
7 years ago
Rich Harris 86fb0e4ced handle set after destroy, and move destroy into shared helpers
7 years ago
Rich Harris 962f04f4bf dont throw error if component is destroyed twice (closes #643)
7 years ago
Rich Harris 9085c0a22a update tests
7 years ago
Rich Harris 3f73f252ac update tests
7 years ago
Rich Harris 1733966d18 tidy up
7 years ago
Rich Harris 84e6d0c5b7 remove _flush in favour of callAll
7 years ago
Rich Harris e9f17f34ff fire intro.start and outro.start events (#702)
7 years ago
Rich Harris d89d70e7a3 rename _renderHooks to _oncreate, since thats all its used for
7 years ago
Rich Harris 0250398ee6 update tests
7 years ago
Rich Harris 84595fb381 run prettier on src, update tests
7 years ago
Rich Harris 3b70920991 merge master -> gh-592
7 years ago
Rich Harris ce8dd647f0 Merge branch 'fix-each-block' of https://github.com/hperrin/svelte into hperrin-fix-each-block
7 years ago
Hunter Perrin 41c214a986 Fixed each block producing elements in wrong order after change. Fixes #610.
7 years ago
Rich Harris a538f7a071 update tests to use new assign helper
7 years ago
Rich Harris c4b68ca8cb remove TODO
7 years ago
Rich Harris 288d1c9d74 update tests
7 years ago
Rich Harris 739a832c37 remove some files from repo
7 years ago
Rich Harris 015ef56b18 make transitionManager treeshakeable (fixes #593)
7 years ago
Rich Harris 34170a5e76 compare bundled output with expectations
7 years ago
Rich-Harris 23331e605a dont store keyed block iterations in an array
7 years ago
Rich-Harris d8364f6e0a remove unnecessary if statement
7 years ago
Rich-Harris 22ac50abb6 outros on keyed each-blocks
7 years ago
Rich-Harris 6ed2a6c785 update tests
7 years ago
Conduitry a0284a4c67 Merge branch 'master' into gh-3
8 years ago
Rich Harris bfe9904db7 Update expected.js
8 years ago