Commit Graph

306 Commits (cce6db40f9a2c396a8ffb125b6f53f2cbaa9878e)

Author SHA1 Message Date
Rich Harris 81743a2562 update more tests
8 years ago
Rich Harris 9971283671 update tests
8 years ago
Rich Harris 602f13ae6b fix out of date test
8 years ago
Rich Harris 805c72fefc
Merge pull request #1173 from sveltejs/gh-1122
8 years ago
Rich Harris 036277df64 update tests
8 years ago
Rich Harris 4ccc2ade2f
Merge pull request #1169 from sveltejs/gh-1166
8 years ago
Rich Harris af5a73cc11 update tests
8 years ago
Robert Hall 836cc36598 Using pageYOffset & pageXOffset
8 years ago
Rich Harris d162ce9968 Merge branch 'master' into gh-1122
8 years ago
Rich Harris 1b599bd57b put _differs on prototype, remove runtime option
8 years ago
Rich Harris 27f6d560b5 remove some unused code etc
8 years ago
Rich Harris 7baba8bf8c all tests passing
8 years ago
Rich Harris b94f63ed70 everything working except some destructuring stuff
8 years ago
Rich Harris c0292cbca1 update tests
8 years ago
Jacob Wright 046a8000e6 Add another test
8 years ago
Jacob Wright 405c4f6371 Adding compiler option for immutable back in
8 years ago
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
Rich Harris 38bf5b1d3f use ["default"] instead of .default in legacy mode - fixes #1166
8 years ago
Jacob Wright d2f8e472a5 Add support to computed and store for immutable structures
8 years ago
Jacob Mischka b5a3e2224d Add audio video volume binding (#1148)
8 years ago
Rich Harris d411a82a32 update snapshot tests
8 years ago
Emil Ajdyna f9fc7c9e91 Base scoping hashes on CSS content rather than entire file
8 years ago
Rich Harris 728d2fa9fb deconflict referenced globals - fixes #1079
8 years ago
Rich Harris 6ccc7b812b reuse timeout function
8 years ago
Rich Harris 297ea67ebe lock scroll bindings to allow tweening - fixes #1071
8 years ago
Rich Harris 976c278d37 prevent main fragment being created twice - fixes #1063
8 years ago
Rich Harris a8f7d57c3a only optimise <title> inside <:Head>
8 years ago
Rich Harris b7d8c49dc8
Merge branch 'master' into gh-1027
8 years ago
Rich Harris 1f31ba52c3 dont create text nodes inside <:Head> - fixes #1026
8 years ago
Rich Harris 646b0c0e01 optimise <title> - fixes #1027
8 years ago
Rich Harris f8362fe5fb fix toString method in SSR output - closes #1044
8 years ago
Rich Harris ca7e90083e can just use options here
8 years ago
Emil Ajdyna d398b34a41 Add state() method handling for components
8 years ago
Rich Harris 394dec9f11
Merge pull request #1024 from sveltejs/gh-1013
8 years ago
Rich Harris 8a3898c6cb fix unrelated bug that was causing tests to fail
8 years ago
Rich Harris ed44f7d1fa server-side <:Head>
8 years ago
Rich Harris ca6a4a7708
Merge pull request #1021 from sveltejs/gh-1015
8 years ago
Rich Harris 22ba8f74ca deprecate renderCss
8 years ago
Rich Harris 0127f9f0ca change server-side render method signature
8 years ago
Emil Ajdyna fadeeaf177 Expose root as a public property
8 years ago
Rich Harris 6bd410c886 implement preload
8 years ago
Rich Harris 797165b5a8
trim SSR'd output more intelligently - fixes #998
8 years ago
Rich Harris c799230164
don't use dataset with svg elements - fixes #995
8 years ago
Rich Harris 82fc0f2713
Merge branch 'master' into gh-654
8 years ago
Rich Harris 8a0813e96b SSR await-then-catch
8 years ago
Rich Harris 945d8ce526 store bindings
8 years ago
Rich Harris be68cd9de2 use store in SSR mode
8 years ago
Rich Harris 75e911b05a update snapshot tests
8 years ago
Rich Harris dc154987da remove whitespace around <:Window/> - fixes #943
8 years ago
Rich Harris 0a01aa0243
Increase code coverage
8 years ago
Rich Harris 51901442c9
attach globals to state object on initialisation
8 years ago
Rich Harris 775866780e
combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
8 years ago
Rich Harris 4411ab116e update snapshot tests
8 years ago
Rich Harris 0a4e795498
Merge pull request #921 from sveltejs/gh-917
8 years ago
esarbanis ea3f58a786 Use el.dataset.foo = bar instead of setAttribute(el, 'data-foo', bar)
8 years ago
Rich Harris fb675fd5e3 update snapshot tests
8 years ago
Rich Harris f659fd8391 remove unused _yield property
8 years ago
Conduitry 2800b5cacc update tests
8 years ago
Rich Harris 1dc4882183 merge master -> no-template-iife
8 years ago
Rich Harris d27e4734d5 Merge branch 'master' into short-method-names
8 years ago
Rich Harris 6436886500 exclude irrelevant stuff from SSR output
8 years ago
Rich Harris 4dbfc65e74 fix indentation, update snapshot tests
8 years ago
Rich Harris fcf2b03ba6 take template object out of IIFE
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 2da0e252c7 merge master => iife
8 years ago
Rich Harris 2b2a1b40ce use short method names
8 years ago
Rich Harris c8f094cf80 remove unused destroyEach and destroy arguments
8 years ago
Rich Harris 1f9fc04d27 simplify module wrapping
8 years ago
Rich Harris fdd7ac71c2 Merge branch 'master' into iife
8 years ago
Rich Harris cf56c0ba04 Merge branch 'master' into gh-23
8 years ago
Rich Harris 5d84a93c99 shorten each block var names
8 years ago
Rich Harris 4f1d48c4a6 more readable each block values
8 years ago
Rich Harris 74d84d81e9 remove incorrect argument
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 3b68d1f5dc update tests
8 years ago
Rich Harris 6b70825ac3 Merge pull request #856 from sveltejs/remove-is-initial
8 years ago
Rich Harris 21f6dd8cef Merge branch 'master' into static-components
8 years ago
Rich Harris bd282df921 remove version numbers from snapshot tests
8 years ago
Rich Harris e2ef1fdb96 dont update components with only static bindings
8 years ago
Rich Harris 4d6e95d799 update snapshot tests
8 years ago
Rich Harris b1cbffece6 remove excess parentheses
8 years ago
Rich Harris 33dbc18a10 merge master -> shared-init
8 years ago
Rich Harris 0b71a93779 update tests
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 770c14955d escape shadow DOM CSS - fixes #840
8 years ago
P 072f541855 Change let -> var, solves #838
8 years ago
Rich Harris bf3afe955c Merge pull request #833 from sveltejs/nightmare
8 years ago
Rich Harris ef2a2b329a use nightmare to test custom element stuff
8 years ago
Rich Harris d75ab8544e remove requestAnimationFrame stuff, convert time ranges to {start, end} objects
8 years ago
Rich Harris 1a99c515ff add snapshot test for #830
8 years ago
Rich Harris 073cbc0460 update some tests
8 years ago
Rich Harris 5e325d5a87 remove redundant input blowback guard - closes #645
8 years ago
Rich Harris e993ae0748 more consistent style for generated code
8 years ago
Rich Harris 81a04ad86c merge master -> gh-797
8 years ago
Rich Harris 7401590fba Merge branch 'master' into gh-797
8 years ago
Rich Harris 2380109f15 handly directly instantiated custom elements, and slots
8 years ago
Rich Harris 186b770ef4 use helper for setting styles
8 years ago
Rich Harris 824998fdaa update tests
8 years ago
Rich Harris f5f35b5a50 scoped styles
8 years ago
Rich Harris 29fc3e5169 update tests
8 years ago
Rich Harris afe3e2e669 basic custom element generation (#797)
8 years ago
Rich Harris d54d00cac1 handle url(...) and quoted values
8 years ago
Rich Harris 228a7808ac optimize style attributes
8 years ago
Rich Harris f5958584d9 dont noop set/get until after component is destroyed (fixes #788)
8 years ago
Rich Harris 6499d4714d only use noscript if necessary
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 f7b829820f add legacy option, use it for setInputType (#773)
8 years ago
Rich Harris 8818357fc4 tidy up
8 years ago
Rich Harris 3daa7aa6b3 we can now do changed.foo instead of "foo" in changed - is faster and smaller
8 years ago
Rich Harris f31c206b73 tidy up, dedupe a bit
8 years ago
Rich Harris 4dd5fc5594 apply optimisation to raw tags
8 years ago
Rich Harris 5636506fc0 update tests
8 years ago
Rich Harris 427a0b5925 update tests
8 years ago
Rich Harris 9b9aa0416f make errors easier to track down
8 years ago
Rich Harris fd3792bd60 replace destroy with noop on destroy
8 years ago
Rich Harris 44b73191c7 update tests
8 years ago
Rich Harris 86fb0e4ced handle set after destroy, and move destroy into shared helpers
8 years ago
Rich Harris f3f85841a5 Merge pull request #751 from sveltejs/hoist-if-block-selectors
8 years ago
Hunter Perrin ba74297a19 Changed from this keyword to argument in setup method.
8 years ago
Hunter Perrin 59d01f737d Added setup function which can supply static methods/properties. Closes #480. Closes #578.
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 ae060cfa3b Merge pull request #737 from sveltejs/update-deps
8 years ago
Rich Harris e02c248456 update rollup and plugins
8 years ago
Rich Harris 962f04f4bf dont throw error if component is destroyed twice (closes #643)
8 years ago
Rich Harris 608f8943f3 Merge pull request #733 from sveltejs/gh-375
8 years ago
Rich Harris 70a99925a9 use helper to encapsulate styles, rather than being repetitious (fixes #375)
8 years ago
Rich Harris 7b1299904b minify css and remove unused styles (#697)
8 years ago
Zhuravlev Yury ab607269f9 Update css-media-query test. It's look like somebody forgot about that.
8 years ago
Rich Harris 5f09421a18 Merge pull request #719 from sveltejs/gh-712
8 years ago
Rich Harris 9085c0a22a update tests
8 years ago
Rich Harris 343d66538b failing test for #712
8 years ago
Rich Harris 3f73f252ac update tests
8 years ago
Rich Harris 1733966d18 tidy up
8 years ago
Rich Harris 2d2c68c26b NAILED IT
8 years ago
Rich Harris 84e6d0c5b7 remove _flush in favour of callAll
8 years ago
Rich Harris e9f17f34ff fire intro.start and outro.start events (#702)
8 years ago
Rich Harris d89d70e7a3 rename _renderHooks to _oncreate, since thats all its used for
8 years ago
Rich Harris d707f6a3b2 call oncreate functions before bindings
8 years ago
Rich Harris 203e123d94 Merge pull request #676 from sveltejs/gh-608
8 years ago
Rich Harris df1870df8b update tests
8 years ago
Rich Harris f87c3328b5 Merge branch 'master' into codegen
8 years ago
Rich Harris 21a8b1dd06 fix tests
8 years ago