Commit Graph

953 Commits (e57ddb0503e386d66e8c9613bd1b33400d6cac96)

Author SHA1 Message Date
Rich Harris d479224067 prevent cyclical store computations, and computation duplication
7 years ago
Rich Harris ada52c7f13 allow parameterised transitions - fixes #962
7 years ago
Rich Harris d5d1eccb28 remove combineStores
7 years ago
Rich Harris adc248f639 make target store optional
7 years ago
Rich Harris 47547ed0ab better implementation of computed properties
7 years ago
Rich Harris a669dbfcd4 add combineStores function
7 years ago
Rich Harris f23c886b6a computed properties
7 years ago
Rich Harris ccef13a2d5 ditch async/await in tests, so that they run in node 6
7 years ago
Rich Harris 8a0813e96b SSR await-then-catch
7 years ago
Rich Harris 56b167b44f await-then-catch with non-promise
7 years ago
Rich Harris 8f52587539 show output using cjs format, so stack traces make sense
7 years ago
Rich Harris a2d885c8ba basic client-side await-then-catch working
7 years ago
Rich Harris d783993d23 halfway there
7 years ago
Rich Harris 908fe2ab7a parse await-then-catch
7 years ago
Rich Harris 1cdfb84fec remove solo: true
7 years ago
Rich Harris edc61b7bd8 fix tests, now that computed prop dependencies are expected
7 years ago
Rich Harris 3206e08286 allow computed properties to depend on store props
7 years ago
Rich Harris a87d30e0e6 allow event handlers to call store methods
7 years ago
Rich Harris 945d8ce526 store bindings
7 years ago
Rich Harris be68cd9de2 use store in SSR mode
7 years ago
Rich Harris f64e473d2e reenable all tests
7 years ago
Rich Harris 75e911b05a update snapshot tests
7 years ago
Rich Harris f80ace5fd6 client-side store subscriptions
7 years ago
Rich Harris d0e5098ea6 implement Store
7 years ago
Rich Harris c9aa72313e throw error on illegal context (#934)
7 years ago
Rich Harris dc154987da remove whitespace around <:Window/> - fixes #943
7 years ago
Efthymis Sarmpanis 4c06226a5c Add support for intercepting different file extensions, other than .html, in ssr. (#940)
7 years ago
Rich Harris d32328ca69
append to the dom, not a document fragment, when updating each block in slot - fixes #927
7 years ago
Rich Harris 0a01aa0243
Increase code coverage
7 years ago
Rich Harris d590dbe165
Reinstate code coverage
7 years ago
Rich Harris 51901442c9
attach globals to state object on initialisation
7 years ago
Rich Harris 60b883b066
enable <:Window bind:online/> - fixes #936 (#937)
7 years ago
Rich Harris b5821b846a fix annoying test failure
7 years ago
Rich Harris 775866780e
combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
7 years ago
Rich Harris 509fb1a6e3
Merge pull request #931 from sveltejs/gh-928
7 years ago
Rich Harris bcae68de06 treat quoted property names the same way as identifiers - fixes #914
7 years ago
Rich Harris 02b0dda9cc update tests
7 years ago
Rich Harris 7e07cde021 use <option> children as value attribute, if none exists. fixes #928
7 years ago
Rich Harris 4411ab116e update snapshot tests
7 years ago
Rich Harris 0a4e795498
Merge pull request #921 from sveltejs/gh-917
7 years ago
Rich Harris 3ff208ffdd
Merge pull request #925 from sveltejs/gh-915
7 years ago
esarbanis ea3f58a786 Use el.dataset.foo = bar instead of setAttribute(el, 'data-foo', bar)
7 years ago
Rich Harris d28942d91a dont use innerHTML for options inside optgroups - fixes #915
7 years ago
Rich Harris fb675fd5e3 update snapshot tests
7 years ago
Rich Harris 0b56e20300 oops
7 years ago
Rich Harris 96428312ec check component exists after _bind before continuing - fixes #917
7 years ago
Rich Harris 6000e9b6e2
Merge pull request #902 from sveltejs/gh-893
7 years ago
esarbanis 9218f20330 Use a block scoped unique name for the context
7 years ago
Rich Harris f659fd8391 remove unused _yield property
7 years ago
Rich Harris d05b212581 oops
7 years ago
Rich Harris 3e9d9740f8 Merge branch 'm59peacemaker-oncreate-async-#904'
7 years ago
Rich Harris c5943d7b6d skip async-await tests below node 8
7 years ago
Johnny Hauser 0997107e1d oncreate async tests (function, arrow, arrow block)
7 years ago
Johnny Hauser 97d8125030 test attribute only selector when html is also attribute only
7 years ago
Johnny Hauser f8ac12c57b test for attribute name only selector
7 years ago
Rich Harris 1dad8f1936 add test for #891
7 years ago
Rich Harris 218dcacef8 Merge branch 'patch-1' of https://github.com/petterek/svelte into petterek-patch-1
7 years ago
Rich Harris 5646df77ac possible fix for #893
7 years ago
Rich Harris 921ad06bc7 Merge pull request #900 from sveltejs/event-handler-options-callee
7 years ago
Conduitry cc8614c51c allow options.* as event handler callee
7 years ago
Conduitry db5646821d add failing test for each block updates
7 years ago
Conduitry 2800b5cacc update tests
7 years ago
Jacob Mischka a60a7e6773
Remove Object.entries from test
7 years ago
Jacob Mischka ffbc991027
Add missing runtime test, add contexts to SSR
7 years ago
Jacob Mischka 5d27d3fda7
Add array destructuring for each contexts
7 years ago
Rich Harris c7e0674441 Merge pull request #874 from sveltejs/gh-871
7 years ago
Rich Harris 86a11b547b handle unknown at-rules that are declaration-like — fixes #871
7 years ago
Rich Harris e83bcb0b53 escape backslashes in CSS for custom elements - fixes #872
7 years ago
Conduitry 9c7c5b9636 more testing
7 years ago
Conduitry 7b25b1202f expand unit test
7 years ago
Rich Harris 1dc4882183 merge master -> no-template-iife
7 years ago
Rich Harris d27e4734d5 Merge branch 'master' into short-method-names
7 years ago
Rich Harris dc3785c1e2 fix escaping of %-prefixed names
7 years ago
Rich Harris 6436886500 exclude irrelevant stuff from SSR output
7 years ago
Rich Harris 4dbfc65e74 fix indentation, update snapshot tests
7 years ago
Rich Harris 2865a98e57 move properties out of the template IIFE (#756)
7 years ago
Rich Harris fcf2b03ba6 take template object out of IIFE
7 years ago
Rich Harris 94e280e430 merge master -> gh-23
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 64026c3ba9 Merge pull request #854 from sveltejs/gh-782
7 years ago
Rich Harris cf56c0ba04 Merge branch 'master' into gh-23
7 years ago
Rich Harris d5ad4c007b update validation message
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 66ae0d9c94 use textContent and innerHTML where appropriate (#23)
7 years ago
Rich Harris 7cc192ad4c fix test
7 years ago
Rich Harris 5cd76be290 various fixes
7 years ago
Rich Harris abea37af71 wrap ES modules in an IIFE
7 years ago
Rich Harris 3b68d1f5dc update tests
7 years ago
Rich Harris 6b70825ac3 Merge pull request #856 from sveltejs/remove-is-initial
7 years ago
Rich Harris 21f6dd8cef Merge branch 'master' into static-components
7 years ago
Rich Harris bd282df921 remove version numbers from snapshot tests
7 years ago
Rich Harris e2ef1fdb96 dont update components with only static bindings
7 years ago
Rich Harris 4d6e95d799 update snapshot tests
7 years ago