Commit Graph

713 Commits (5c8ca320c190dbd561f544d58bf613c52092a0db)

Author SHA1 Message Date
Rich Harris 92313501d0 use helper to encapsulate styles, rather than being repetitious (fixes #375)
9 years ago
Rich Harris faf68126df Merge branch 'master' into gh-697
9 years ago
Rich Harris 55778c3b8e Merge pull request #732 from sveltejs/gh-638
9 years ago
Rich Harris ca2ce1f23a Merge pull request #731 from sveltejs/gh-686
9 years ago
Rich Harris d13b682f85 Merge pull request #728 from sveltejs/gh-721
9 years ago
Rich Harris 8720fa5fbc event propagation shorthand for components (#638)
9 years ago
Rich Harris e25a4d5882 event propagation shorthand for elements (#638)
9 years ago
Rich Harris 28e5ebac69 validate ref callees (#686)
9 years ago
Rich Harris cff7fe004b minify css and remove unused styles (#697)
9 years ago
Rich Harris 1feee787f5 use _set, not set, when updating child components - fixes #721
9 years ago
Rich Harris 3c04dd7ed1 clear refs in destroy, not unmount, so that refs are populated in ondestroy. fixes #706
9 years ago
Rich Harris d5ac8d1be2 unescape hash character (#722)
9 years ago
Zhuravlev Yury 8f1836f46e Update css-media-query test. It's look like somebody forgot about that.
9 years ago
Yury Zhuravlev 8193ab534c Fix binding in each block
9 years ago
Rich Harris 1ff8feb341 Merge pull request #720 from sveltejs/gh-711
9 years ago
Rich Harris 6676fe31b4 Merge pull request #719 from sveltejs/gh-712
9 years ago
Rich Harris 66adfefd36 Merge pull request #718 from sveltejs/gh-713
9 years ago
Rich Harris 8ebbe52c65 update tests
9 years ago
Rich Harris 850d66411f ensure data is up to date when re-rendering yield blocks (fixes #711)
9 years ago
Rich Harris e1ee7574bd failing test for #711
9 years ago
Rich Harris b4f2111f70 second failing test for #712
9 years ago
Rich Harris 1eb897df52 failing test for #712
9 years ago
Rich Harris 540f83529c dont strip whitespace at the end of an each block (#713)
9 years ago
Rich Harris 3f38efcf09 update tests
9 years ago
Rich Harris e6ff9fafc9 Merge branch 'master' into gh-708
9 years ago
Rich Harris 4759515db6 better CSS sourcemaps
9 years ago
Rich Harris f4089a8558 make test more stringent
9 years ago
Rich Harris 84503ced19 tidy up
9 years ago
Rich Harris 574f428fa8 tidy up test
9 years ago
Rich Harris 1ba0c88b3d NAILED IT
9 years ago
Rich Harris 3032c82111 sketch of a solution to #708
9 years ago
Rich Harris c90441f345 Merge branch 'master' into gh-691
9 years ago
Rich Harris 9803202e8a Merge pull request #704 from sveltejs/gh-700
9 years ago
Rich Harris ae9de0f25e remove _flush in favour of callAll
9 years ago
Rich Harris f505a07384 fire intro.start and outro.start events (#702)
9 years ago
Rich Harris de3dfbd302 use anchor comments to preserve order in keyed each blocks with components (fixes #700)
9 years ago
Rich Harris 45a55a2325 alias #component in hoisted event handlers - fixes #699
9 years ago
Rich Harris 3757a853a4 fix tests
9 years ago
Rich Harris 3fae55b199 reduce duplication by moving validation into stylesheet
9 years ago
Rich Harris 62c70cce9f move css logic into new Stylesheet class, add CSS sourcemap support
9 years ago
Rich Harris befb5f1615 Merge pull request #690 from sveltejs/gh-685
9 years ago
Rich Harris b37cfd37f2 rename _renderHooks to _oncreate, since thats all its used for
9 years ago
Rich Harris 68af2fd26c add test
9 years ago
Rich Harris 1f34e4a469 call oncreate functions before bindings
9 years ago
Rich Harris a07cd328a0 fix context for bindings (#685)
9 years ago
Rich Harris 10a46a5bab Merge pull request #680 from sveltejs/gh-679
9 years ago
Rich Harris e90ca611c5 fix handling of modified :global(...) selectors
9 years ago
Rich Harris 1926ffa708 fix tests
9 years ago
Rich Harris 0bbc66be28 Merge branch 'gh-678' into gh-679
9 years ago
Rich Harris bd5a09de52 simplify tests
9 years ago
Rich Harris 278c44a234 warn on unused selectors
9 years ago
Rich Harris 11da4841a7 bug fix
9 years ago
Rich Harris 5c3bb52fb9 apply css optimisations to SSR
9 years ago
Rich Harris 13cd7a6820 implement ID selectors, refactor
9 years ago
Rich Harris fbacf3a9ee implement all attribute selector operators
9 years ago
Rich Harris f82da68afc handle ~= attribute selector operator
9 years ago
Rich Harris 6196d80e5c handle empty attributes
9 years ago
Rich Harris 07d102717d handle attribute selectors with = operator
9 years ago
Rich Harris ffea4201e0 handle universal selectors
9 years ago
Rich Harris 03271b176e refactoring, and more :global(...) fixes
9 years ago
Rich Harris 1b9b12b7a4 more :global(...) handling
9 years ago
Rich Harris afbef75516 handle :global(...) styles
9 years ago
Rich Harris 5d44d65ae8 hack sourcemap to mitigate confusion caused by missing data for each block (#681)
9 years ago
Rich Harris 22e33a7c8c move CSS analysis into preprocess
9 years ago
Rich Harris 1d9900272e Merge branch 'master' into gh-679
9 years ago
Rich Harris 79ed77414c Merge pull request #676 from sveltejs/gh-608
9 years ago
Rich Harris f644807e7a only apply svelte-123xyz attributes where necessary (WIP)
9 years ago
Rich Harris ab9eb4fe19 set up tests for omitted scoping attributes
9 years ago
Rich Harris 217f2662c3 Merge branch 'master' into codegen
9 years ago
Rich Harris aaa0c50651 handle @foo and #foo edge cases
9 years ago
Rich Harris 0cbd35cc16 add dev mode hydration error (closes #664)
9 years ago
Rich Harris 4db141dc63 Merge branch 'master' into codegen
9 years ago
Rich Harris 70cd2a205f Merge pull request #675 from sveltejs/gh-651
9 years ago
Rich Harris 6a6857624f update parser tests
9 years ago
Rich Harris 8b2e65b3ce update tests
9 years ago
Rich Harris 137cefde72 move whitespace logic out of parse and into preprocess
9 years ago
Rich Harris 21b8776ae2 merge master -> codegen
9 years ago
Rich Harris a95bd7f416 add test for #651
9 years ago
Rich Harris 2ca8c74a4d remove redundant try-catch
9 years ago
Rich Harris e8f43c9e3e deconflict name with imports (#655)
9 years ago
Rich Harris f6dad89c90 Merge branch 'master' into codegen
9 years ago
Rich Harris 88ec5aee90 fix tests
9 years ago
Rich Harris c2cf6214c7 use #foo instead of block.alias("foo")
9 years ago
Rich Harris 3101c699aa use @foo for generator.alias("foo")
9 years ago
Rich Harris 09213f5d12 dont recreate if_blocks incorrectly
9 years ago
Rich Harris b6be4cec07 reenable tests
9 years ago
Rich Harris 4b7f9ec722 pass params to get_block (#667)
9 years ago
Rich Harris 729f909b1b only run create() for new if blocks - fixes #665
9 years ago
Rich Harris f6a6c55007 fix each-else blocks that are empty on initial render (#662)
9 years ago
Rich Harris 47da5f9038 put attribute selector before pseudo-class selector - fixes #658
9 years ago
Rich Harris 6a1248334b update tests
9 years ago
Rich Harris 30cc2664c7 test with hydratable: true and hydratable: false
9 years ago
Rich Harris 1bce6f22ce get all tests passing with hydration
9 years ago
Rich Harris f10d2bb250 fix most non-hydration tests
9 years ago
Rich Harris 79ca1b962c events, bindings, if block fixes
9 years ago
Rich Harris d964b63ad3 fix component hydration
9 years ago
Rich Harris e26c37b408 more hydration
9 years ago
Rich Harris 1cc36884d4 hydration working with elements, text nodes, tags and if blocks
9 years ago
Rich Harris 451ea0068c Merge branch 'master' into hydration
9 years ago
Rich Harris b8141d0fc5 doh
9 years ago