Commit Graph

159 Commits (cb40eb7cb6b3cc241b549d1a919c938b2d4e4a2e)

Author SHA1 Message Date
Rich Harris 50dd0fd460 set state to blank object on destroy, not null - fixes #1354
8 years ago
Rich Harris 90d06134fd remove v1 snapshot tests
8 years ago
Rich Harris 2994c9681d update snapshot tests
8 years ago
Rich Harris d532561a7f update snapshot tests
8 years ago
Rich Harris 3b4b8c25d5 implement onstate and onupdate
9 years ago
Rich Harris d1ca636120 v2 js tests
9 years ago
Rich-Harris 6e41ebe91b component spread
9 years ago
Luke Edwards 74e0e7e51d update test samples’ expectants
9 years ago
Rich Harris 160d9136c0 add local variable for list values - fixes #1240
9 years ago
Rich Harris 74058004d5 update test
9 years ago
ekhaled 7f4cc3c2af fix snapshots for the actual mounting code
9 years ago
ekhaled b7a3d24dc4 fix bundle snapshots
9 years ago
ekhaled 61ad7bcaeb fix snapshots
9 years ago
Rich Harris ba5b661dc7 update deps to get tests to pass again
9 years ago
Rich Harris dcf8e4694a Merge branch 'master' into gh-1122
9 years ago
Rich Harris e4da15330f put _differs on prototype, remove runtime option
9 years ago
Rich Harris 0a0f7d142f remove some unused code etc
9 years ago
Rich Harris a7fd6ecc78 all tests passing
9 years ago
Rich Harris c5211e8074 everything working except some destructuring stuff
9 years ago
Rich Harris f674561331 update tests
9 years ago
Jacob Wright 514ebd28b7 Adding compiler option for immutable back in
9 years ago
Jacob Wright 7afb9b79f7 Makes immutable a component option rather than a compile option
9 years ago
Jacob Wright faa613d357 Removes date checks and simplifies NaN checks, adds tests
9 years ago
Jacob Wright e1ae3d1a43 Add support to computed and store for immutable structures
9 years ago
Rich Harris f004837196 update snapshot tests
9 years ago
Rich Harris 28e3ecdb3e can just use options here
9 years ago
Emil Ajdyna 8609956e22 Add state() method handling for components
9 years ago
Rich Harris bd85fc13fc Merge pull request #1024 from sveltejs/gh-1013
9 years ago
Rich Harris 74982fc202 fix unrelated bug that was causing tests to fail
9 years ago
Emil Ajdyna 554145b9ce Expose root as a public property
9 years ago
Rich Harris 2ade424988 update snapshot tests
9 years ago
Rich Harris a532f36ab2 combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
9 years ago
Rich Harris 155002bbba update snapshot tests
9 years ago
Rich Harris 3fa98b64ea remove unused _yield property
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 14e1c20dee dont wrap ESM in IIFE
9 years ago
Rich Harris 1934d82dd7 merge master => iife
9 years ago
Rich Harris b6a5994ce7 use short method names
9 years ago
Rich Harris c4a3017d13 remove unused destroyEach and destroy arguments
9 years ago
Rich Harris c765ec6acc simplify module wrapping
9 years ago
Rich Harris 8f5303ad30 Merge branch 'master' into iife
9 years ago
Rich Harris e2a9b7aa90 shorten each block var names
9 years ago
Rich Harris b9327d095d more readable each block values
9 years ago
Rich Harris 990a8f27d0 remove incorrect argument
9 years ago
Rich Harris 2429d93f52 various fixes
9 years ago
Rich Harris 86d6e91920 Merge pull request #856 from sveltejs/remove-is-initial
9 years ago
Rich Harris 54ae5f1dcb remove version numbers from snapshot tests
9 years ago
Rich Harris c4623c8e20 update snapshot tests
9 years ago
Rich Harris fbc4524599 remove excess parentheses
9 years ago
Rich Harris e59a12a6b1 merge master -> shared-init
9 years ago
Rich Harris c54e461786 update tests
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 b4b4197032 handly directly instantiated custom elements, and slots
9 years ago
Rich Harris 9e5f871550 update tests
9 years ago
Rich Harris cbfc609064 scoped styles
9 years ago
Rich Harris 8f31f96edc dont noop set/get until after component is destroyed (fixes #788)
9 years ago
Rich Harris 0cfc67ca11 only use noscript if necessary
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 f63a07f139 we can now do changed.foo instead of "foo" in changed - is faster and smaller
9 years ago
Rich Harris dd8cc8c194 tidy up, dedupe a bit
9 years ago
Rich Harris 2f0abaa719 apply optimisation to raw tags
9 years ago
Rich Harris 0df91d9a5d update tests
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 6ae5e32371 update tests
9 years ago
Rich Harris 92766ee9e7 handle set after destroy, and move destroy into shared helpers
9 years ago
Rich Harris 714a267837 dont throw error if component is destroyed twice (closes #643)
9 years ago
Rich Harris 8ebbe52c65 update tests
9 years ago
Rich Harris 3f38efcf09 update tests
9 years ago
Rich Harris 84503ced19 tidy up
9 years ago
Rich Harris ae9de0f25e remove _flush in favour of callAll
9 years ago
Rich Harris f505a07384 fire intro.start and outro.start events (#702)
9 years ago
Rich Harris b37cfd37f2 rename _renderHooks to _oncreate, since thats all its used for
9 years ago
Rich Harris 6a1248334b update tests
9 years ago
Rich Harris f92b33c130 run prettier on src, update tests
9 years ago
Rich Harris 8458a3f9e2 merge master -> gh-592
9 years ago
Rich Harris ac94286897 Merge branch 'fix-each-block' of https://github.com/hperrin/svelte into hperrin-fix-each-block
9 years ago
Hunter Perrin eb71c440a4 Fixed each block producing elements in wrong order after change. Fixes #610.
9 years ago
Rich Harris 14c42114fe update tests to use new assign helper
9 years ago
Rich Harris bc1f416121 remove TODO
9 years ago
Rich Harris 7d4dcdf531 update tests
9 years ago
Rich Harris c61db3c898 remove some files from repo
9 years ago
Rich Harris cd76c110f7 make transitionManager treeshakeable (fixes #593)
9 years ago
Rich Harris 18f5e06e83 compare bundled output with expectations
9 years ago
Rich-Harris 13607ebe89 dont store keyed block iterations in an array
9 years ago
Rich-Harris 72b7b3447e remove unnecessary if statement
9 years ago
Rich-Harris 3871627d63 outros on keyed each-blocks
9 years ago
Rich-Harris 339d2987fc update tests
9 years ago
Conduitry 7969409ae6 Merge branch 'master' into gh-3
10 years ago
Rich Harris b05dbdb9e2 Update expected.js
10 years ago
Rich Harris a52f40eb82 Merge branch 'master' into gh-507
10 years ago
Rich-Harris 84cac6bbd9 anchor-less each blocks
10 years ago