Commit Graph

109 Commits (35b46c23009faab8630629d7c61736b0d1495747)

Author SHA1 Message Date
Rich Harris 22e4d0c5a0 Merge branch 'master' into short-method-names
9 years ago
Rich Harris b6a5994ce7 use short method names
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 b9327d095d more readable each block values
9 years ago
Rich Harris 2429d93f52 various fixes
9 years ago
Rich Harris 4ccf1ea7b0 wrap ES modules in an IIFE
9 years ago
Rich Harris b9492905a1 remove oldState from recompute
9 years ago
Rich Harris 2af7b9e561 Merge branch 'master' into remove-is-initial
9 years ago
Rich Harris 544f17fba3 remove isInitial check on recompute
9 years ago
Rich Harris e59a12a6b1 merge master -> shared-init
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
Rich Harris 0b307560f9 always attach fragment to shadow root (fixes #821)
9 years ago
Rich Harris 2654f6a2c0 Merge branch 'master' into gh-781
9 years ago
Rich Harris bc69c67e23 more consistent style for generated code
9 years ago
Rich Harris 99f9e6a4c1 use component name in runtime dev warnings - fixes #781
9 years ago
Rich Harris b4b4197032 handly directly instantiated custom elements, and slots
9 years ago
Rich Harris a303e9a6d6 append host element, not contents, when component is nested
9 years ago
Rich Harris 9e7e145a1a use template strings to prevent sourcemaps breaking the code
9 years ago
Rich Harris cbfc609064 scoped styles
9 years ago
Rich Harris 407a457215 validate props, auto-generate props if unspecified
9 years ago
Rich Harris 440bdbe1e0 basic custom element generation (#797)
9 years ago
Rich Harris 72fd1228c7 attach options to component (#550)
9 years ago
Rich Harris e5d0958ab4 Merge pull request #787 from sveltejs/gh-763
9 years ago
Rich Harris 9190990ed9 only add this._slotted if necessary
9 years ago
Rich Harris 906daf3514 populate component.slots
9 years ago
Rich Harris 70cbb6a3c7 client-side named slots
9 years ago
Rich Harris 25f08b215f replace {{yield}} with <slot/>
9 years ago
Andrew Worcester 47e56e3da6 allow an anchor element to be passed for initial component bootstrap
9 years ago
Rich Harris af88c030eb add legacy option, use it for setInputType (#773)
9 years ago
Rich Harris d02c468834 update component bindings together. WIP
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 7fea57c44f rename addConditionalLine to addConditional
9 years ago
Rich Harris 6292204072 do dirty check in _set, so we can easily skip unnecessary computations later (#768)
9 years ago
Rich Harris a2e85aec1d replace destroy with noop on destroy
9 years ago
Rich Harris c799c416c1 no need to bind destroy, event handlers are called with the component as context
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 177ca13e70 Merge branch 'master' into hoist-if-block-selectors
9 years ago
Rich Harris 30eceebb13 hoist if block selectors
9 years ago
Conduitry cb8452489a actually, we don't want to escape @ or # in sharedPath at all
9 years ago
Conduitry 9f8ee62b7d don't over-escape '#' in sharedPath
9 years ago
Conduitry c0aa3f12c1 saner escaping/unescaping of `@` and `#` sigils
9 years ago
Rich Harris fb0b4156ef fix escaping/unescaping — closes #741
9 years ago