Commit Graph

737 Commits (c135d0cfab5296b90c6893796f5da46204110e0e)

Author SHA1 Message Date
Rich Harris c135d0cfab apply encapsulating attributes to correct elements and selector parts (#767)
7 years ago
Rich Harris 3daa7aa6b3 we can now do changed.foo instead of "foo" in changed - is faster and smaller
7 years ago
Rich Harris 9053e95460 rename addConditionalLine to addConditional
7 years ago
Rich Harris 6222198017 add note to self
7 years ago
Rich Harris f31c206b73 tidy up, dedupe a bit
7 years ago
Rich Harris 4dd5fc5594 apply optimisation to raw tags
7 years ago
Rich Harris 5070219218 fix select edge case
7 years ago
Rich Harris 531354fc39 only cache values when it makes sense
7 years ago
Rich Harris 136a2fd31c only cache values if necessary
7 years ago
Rich Harris bfc940f396 handle funky edge case around outroing blocks
7 years ago
Rich Harris caffcd5f79 pass updated state to observers
7 years ago
Rich Harris 0f7e87c804 do dirty check in _set, so we can easily skip unnecessary computations later (#768)
7 years ago
Rich Harris 3757e75d51 Merge pull request #766 from sveltejs/gh-740
7 years ago
Rich Harris 2b41b83752 Merge pull request #765 from sveltejs/gh-759
7 years ago
Rich Harris da6b08ccc7 bind to change events for range inputs, as well as input events (#740)
7 years ago
Rich Harris 9d8f4d341d preserve space before non-parenthesized media query expression - fixes #759
7 years ago
Rich Harris 1f5f9604a8 call create() on new iterations of static each blocks (#762)
7 years ago
Rich Harris fd3792bd60 replace destroy with noop on destroy
7 years ago
Rich Harris 44b73191c7 update tests
7 years ago
Rich Harris 85f5ebdec1 replace set with noop instead of checking _destroyed
7 years ago
Rich Harris faf1eeea2f no need to bind destroy, event handlers are called with the component as context
7 years ago
Rich Harris 86fb0e4ced handle set after destroy, and move destroy into shared helpers
7 years ago
Rich Harris f3f85841a5 Merge pull request #751 from sveltejs/hoist-if-block-selectors
7 years ago
Hunter Perrin ba74297a19 Changed from this keyword to argument in setup method.
7 years ago
Hunter Perrin 59d01f737d Added setup function which can supply static methods/properties. Closes #480. Closes #578.
7 years ago
Rich Harris fef2367c11 rename to select_block_type and current_block_type
8 years ago
Rich Harris c84f120e4b Merge branch 'master' into hoist-if-block-selectors
8 years ago
Rich Harris 177e7d09c3 hoist if block selectors
8 years ago
Conduitry db4f148025 actually, we don't want to escape @ or # in sharedPath at all
8 years ago
Conduitry 0e9f16b589 don't over-escape '#' in sharedPath
8 years ago
Conduitry b869e48bff saner escaping/unescaping of `@` and `#` sigils
8 years ago
Rich Harris b99e9207ac reuse helper
8 years ago
Rich Harris a524ab273e fix escaping/unescaping — closes #741
8 years ago
Rich Harris bdb34a243c avoid string manipulation bugs by not minifying combinators if cascade: true (#743)
8 years ago
Rich Harris 778a03e2c6 Merge branch 'master' into gh-693
8 years ago
Rich Harris ae060cfa3b Merge pull request #737 from sveltejs/update-deps
8 years ago
Rich Harris f7738fe42d Merge pull request #735 from sveltejs/gh-643
8 years ago
Rich Harris 82559c3775 support ref:foo as a CSS selector (#693)
8 years ago
Rich Harris ac3c1086e3 use Records to remove TS errors
8 years ago
Rich Harris e2d63d1b34 add dev mode warning for double destroy
8 years ago
Rich Harris 65e484b6ae remove reify
8 years ago
Rich Harris aa59dafb81 more TS fixes
8 years ago
Rich Harris bd9c59aa5a fix various typescript errors
8 years ago
Rich Harris 962f04f4bf dont throw error if component is destroyed twice (closes #643)
8 years ago
Rich Harris 4daa57c67b optimise for ternary expressions when excluding unused css (#696)
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 333568275b Merge branch 'master' into gh-697
8 years ago
Rich Harris 71047c2961 Merge pull request #732 from sveltejs/gh-638
8 years ago
Rich Harris 6a74db035b Merge pull request #731 from sveltejs/gh-686
8 years ago