Commit Graph

749 Commits (7b39a680defc7a05e4294f225e002ec767d3142e)

Author SHA1 Message Date
Rich Harris af88c030eb add legacy option, use it for setInputType (#773)
9 years ago
Rich Harris 4da59be023 Merge pull request #775 from sveltejs/gh-774
9 years ago
Rich Harris 07beb7cdaa order statements more logically
9 years ago
Rich Harris 661cb71391 consolidate everything in Component.ts - much cleaner
9 years ago
Rich Harris f314b1d695 move event handlers and refs inside Component.ts
9 years ago
Rich Harris 323b0bf1aa tidy up a bit
9 years ago
Rich Harris d75a9dca94 smarter handling of keyframes - fixes #774
9 years ago
Rich Harris 5b28edf156 tidy up
9 years ago
Rich Harris bad06ac21e all tests passing
9 years ago
Rich Harris 24f1fbde2a almost working
9 years ago
Rich Harris d02c468834 update component bindings together. WIP
9 years ago
Rich Harris 9fda3cf9ec rename function
9 years ago
Rich Harris 15b481b28e apply encapsulating attributes to correct elements and selector parts (#767)
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 09d95b30f7 add note to self
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 d07af2a0c5 fix select edge case
9 years ago
Rich Harris 8faa01ad5c only cache values when it makes sense
9 years ago
Rich Harris 84feff0799 only cache values if necessary
9 years ago
Rich Harris 2705cf4621 handle funky edge case around outroing blocks
9 years ago
Rich Harris b5f7ac2c22 pass updated state to observers
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 1038d3fccc Merge pull request #766 from sveltejs/gh-740
9 years ago
Rich Harris 60d9cd240c Merge pull request #765 from sveltejs/gh-759
9 years ago
Rich Harris 4d9b57e911 bind to change events for range inputs, as well as input events (#740)
9 years ago
Rich Harris de87e1c812 preserve space before non-parenthesized media query expression - fixes #759
9 years ago
Rich Harris 06c9e37770 call create() on new iterations of static each blocks (#762)
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 73c83d887f replace set with noop instead of checking _destroyed
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 a2f2bf09bc rename to select_block_type and current_block_type
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 e2a803cd0b reuse helper
9 years ago
Rich Harris fb0b4156ef fix escaping/unescaping — closes #741
9 years ago
Rich Harris aa223cac31 avoid string manipulation bugs by not minifying combinators if cascade: true (#743)
9 years ago
Rich Harris 6f3e37d442 Merge branch 'master' into gh-693
9 years ago
Rich Harris e67225bd7f Merge pull request #737 from sveltejs/update-deps
9 years ago
Rich Harris 6e494ef3d7 Merge pull request #735 from sveltejs/gh-643
9 years ago
Rich Harris 17a95239b3 support ref:foo as a CSS selector (#693)
9 years ago