Commit Graph

316 Commits (8520e39cda42ba3617ecb50b8a119d332edce4a1)

Author SHA1 Message Date
Rich Harris c9d029f705 skip missing property warning for computed/global properties
9 years ago
Rich Harris 160d9136c0 add local variable for list values - fixes #1240
9 years ago
Rich Harris 9ab870bcb2 Merge pull request #1237 from sveltejs/gh-1209
9 years ago
Rich Harris 5495d44484 use setAttribute with inputs, for benefit of IE - fixes #1209
9 years ago
Rich Harris cbca5cd006 alias listName to deconflict with shared helpers - fixes #1229
9 years ago
Rich Harris 74058004d5 update test
9 years ago
Rich Harris 12ab482802 Merge branch 'gh-1118' into gh-1118-base36
9 years ago
Rich Harris 7647913591 merge master -> gh-1118
9 years ago
Rich Harris e1d52398d9 merge
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
Conduitry 517621bea1 update js if-block-no-update test
9 years ago
Rich Harris fde43ea376 Merge branch 'master' into gh-1175
9 years ago
Rich Harris 34f18989d8 only use page[XY]Offset
9 years ago
Rich Harris 1bd5d0897c use base36 for style classes
9 years ago
Rich Harris f822a50d3e update more tests
9 years ago
Rich Harris 3053aaeec3 update tests
9 years ago
Rich Harris e561f05e9f fix out of date test
9 years ago
Rich Harris 43e116685a Merge pull request #1173 from sveltejs/gh-1122
9 years ago
Rich Harris d9b9327779 update tests
9 years ago
Rich Harris 648a0a895f Merge pull request #1169 from sveltejs/gh-1166
9 years ago
Rich Harris 610dd36130 update tests
9 years ago
Robert Hall 61ac049b70 Using pageYOffset & pageXOffset
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 6fc42fe18b Add another test
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
Rich Harris 910f7a46e3 use ["default"] instead of .default in legacy mode - fixes #1166
9 years ago
Jacob Wright e1ae3d1a43 Add support to computed and store for immutable structures
9 years ago
Jacob Mischka 00ba7c5176 Add audio video volume binding (#1148)
9 years ago
Rich Harris f004837196 update snapshot tests
9 years ago
Emil Ajdyna 7c58d0520c Base scoping hashes on CSS content rather than entire file
9 years ago
Rich Harris 02898f8d37 deconflict referenced globals - fixes #1079
9 years ago
Rich Harris ae5b15baba reuse timeout function
9 years ago
Rich Harris c22e0cfd1b lock scroll bindings to allow tweening - fixes #1071
9 years ago
Rich Harris 49fc3eee5d prevent main fragment being created twice - fixes #1063
9 years ago
Rich Harris 62a385a8a2 only optimise <title> inside <:Head>
9 years ago
Rich Harris a587fb6303 Merge branch 'master' into gh-1027
9 years ago
Rich Harris f51ab57088 dont create text nodes inside <:Head> - fixes #1026
9 years ago
Rich Harris 1b2949f572 optimise <title> - fixes #1027
9 years ago
Rich Harris e323373c08 fix toString method in SSR output - closes #1044
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
Rich Harris 84b70eac88 server-side <:Head>
9 years ago
Rich Harris 7d38f2d1e1 Merge pull request #1021 from sveltejs/gh-1015
9 years ago
Rich Harris 7c01ab2cb7 deprecate renderCss
9 years ago
Rich Harris f0055e555b change server-side render method signature
9 years ago
Emil Ajdyna 554145b9ce Expose root as a public property
9 years ago
Rich Harris feee1d9c8f implement preload
9 years ago
Rich Harris e5e5ff6fbf trim SSR'd output more intelligently - fixes #998
9 years ago
Rich Harris a39b435a41 don't use dataset with svg elements - fixes #995
9 years ago
Rich Harris 6187a703c2 Merge branch 'master' into gh-654
9 years ago
Rich Harris 0332aeb983 SSR await-then-catch
9 years ago
Rich Harris fd63a56d52 store bindings
9 years ago
Rich Harris 30093ce036 use store in SSR mode
9 years ago
Rich Harris 2ade424988 update snapshot tests
9 years ago
Rich Harris dabf840841 remove whitespace around <:Window/> - fixes #943
9 years ago
Rich Harris 40c3648dfb Increase code coverage
9 years ago
Rich Harris 839e8905c9 attach globals to state object on initialisation
9 years ago
Rich Harris a532f36ab2 combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
9 years ago
Rich Harris 7ac0a52a45 update snapshot tests
9 years ago
Rich Harris c4b9538e2a Merge pull request #921 from sveltejs/gh-917
9 years ago
esarbanis 5af6eee10d Use el.dataset.foo = bar instead of setAttribute(el, 'data-foo', bar)
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 bcfe487f9e merge master -> no-template-iife
9 years ago
Rich Harris 22e4d0c5a0 Merge branch 'master' into short-method-names
9 years ago
Rich Harris aed2e2be6d exclude irrelevant stuff from SSR output
9 years ago
Rich Harris 29c954487b fix indentation, update snapshot tests
9 years ago
Rich Harris d100014327 merge master -> gh-23
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 9021b8524f Merge branch 'master' into gh-23
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 309ff0fe35 use textContent and innerHTML where appropriate (#23)
9 years ago
Rich Harris 2429d93f52 various fixes
9 years ago
Rich Harris 7fdabf38f5 update tests
9 years ago
Rich Harris 86d6e91920 Merge pull request #856 from sveltejs/remove-is-initial
9 years ago
Rich Harris 35881b0829 Merge branch 'master' into static-components
9 years ago
Rich Harris 54ae5f1dcb remove version numbers from snapshot tests
9 years ago
Rich Harris fd2d1ad645 dont update components with only static bindings
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 de2aaaab5c escape shadow DOM CSS - fixes #840
9 years ago
P 88418b318b Change let -> var, solves #838
9 years ago
Rich Harris a18c7c8cc3 Merge pull request #833 from sveltejs/nightmare
9 years ago
Rich Harris 3dd32b9fc2 use nightmare to test custom element stuff
9 years ago
Rich Harris 0c957496f3 remove requestAnimationFrame stuff, convert time ranges to {start, end} objects
9 years ago
Rich Harris 7d447bff86 add snapshot test for #830
9 years ago
Rich Harris 9f3f35e37b update some tests
9 years ago
Rich Harris 9db4e7a5ef remove redundant input blowback guard - closes #645
9 years ago
Rich Harris bc69c67e23 more consistent style for generated code
9 years ago
Rich Harris 62764624c6 merge master -> gh-797
9 years ago
Rich Harris 25bac688bc Merge branch 'master' into gh-797
9 years ago
Rich Harris b4b4197032 handly directly instantiated custom elements, and slots
9 years ago
Rich Harris 155a6327cf use helper for setting styles
9 years ago
Rich Harris 9e5f871550 update tests
9 years ago
Rich Harris cbfc609064 scoped styles
9 years ago
Rich Harris aee6d4ade7 update tests
9 years ago
Rich Harris 440bdbe1e0 basic custom element generation (#797)
9 years ago
Rich Harris 3d487264ff handle url(...) and quoted values
9 years ago
Rich Harris f555a6f7f0 optimize style attributes
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 af88c030eb add legacy option, use it for setInputType (#773)
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 33580f272e Merge pull request #751 from sveltejs/hoist-if-block-selectors
9 years ago
Hunter Perrin 22579bae78 Changed from this keyword to argument in setup method.
9 years ago
Hunter Perrin d45bb7a16c Added setup function which can supply static methods/properties. Closes #480. Closes #578.
9 years ago
Rich Harris a2f2bf09bc rename to select_block_type and current_block_type
9 years ago
Rich Harris 30eceebb13 hoist if block selectors
9 years ago
Rich Harris 714a267837 dont throw error if component is destroyed twice (closes #643)
9 years ago
Rich Harris 80474c524e Merge pull request #733 from sveltejs/gh-375
9 years ago
Rich Harris 92313501d0 use helper to encapsulate styles, rather than being repetitious (fixes #375)
9 years ago
Rich Harris cff7fe004b minify css and remove unused styles (#697)
9 years ago
Zhuravlev Yury 8f1836f46e Update css-media-query test. It's look like somebody forgot about that.
9 years ago
Rich Harris 6676fe31b4 Merge pull request #719 from sveltejs/gh-712
9 years ago