Commit Graph

44 Commits (96efd6d99303523e9a5c5a8da5adc31b3cd75b6e)

Author SHA1 Message Date
Rich Harris bc1f416121 remove TODO
9 years ago
Rich Harris 7d4dcdf531 update tests
9 years ago
Rich Harris c61db3c898 remove some files from repo
9 years ago
Rich Harris cd76c110f7 make transitionManager treeshakeable (fixes #593)
9 years ago
Rich Harris 18f5e06e83 compare bundled output with expectations
9 years ago
Rich Harris eb6c72debe Merge pull request #571 from sveltejs/gh-569
9 years ago
Rich-Harris 735bd21550 fix insertion order of if blocks and their anchors
9 years ago
Rich-Harris 13607ebe89 dont store keyed block iterations in an array
9 years ago
Rich-Harris 5b307ca1ee increase test coverage
9 years ago
Rich Harris 41a5a53be5 Merge pull request #559 from sveltejs/simpler-codegen
9 years ago
Rich-Harris 72b7b3447e remove unnecessary if statement
9 years ago
Rich-Harris 30abda37bd simplify SSR codegen
9 years ago
Rich-Harris e06ba84a74 fix test
9 years ago
Rich-Harris 64dbd45601 generate less code for if-blocks with else-blocks (closes #540)
9 years ago
Conduitry 980c2626b4 label <style> element with id instead of with attribute, for performance
9 years ago
Conduitry 168b43eea1 when creating a component, always check whether its css is still in the dom (#554)
9 years ago
Rich-Harris 3871627d63 outros on keyed each-blocks
9 years ago
Rich-Harris 3eda59d2cb Merge branch 'master' into gh-7
9 years ago
Conduitry dcd2a99a77 fix simple if blocks with top-level or conditions (#532)
9 years ago
Rich-Harris 339d2987fc update tests
9 years ago
Conduitry 7969409ae6 Merge branch 'master' into gh-3
9 years ago
Rich Harris b05dbdb9e2 Update expected.js
9 years ago
Rich Harris a52f40eb82 Merge branch 'master' into gh-507
9 years ago
Rich-Harris 84cac6bbd9 anchor-less each blocks
9 years ago
Rich-Harris e903ff69fc only create anchors for if blocks when necessary
9 years ago
Rich-Harris 12f211c6a8 populate state in preprocess step, including naming DOM nodes
9 years ago
Rich-Harris 6ff83a4127 rename root to state, and allow state to be used as context
9 years ago
Rich-Harris 54047c31bf hoist variables where appropriate (#504)
9 years ago
Rich-Harris adaccacc32 optimise simple if-blocks
9 years ago
Rich-Harris dc6fa6ff24 collapse text around comments
9 years ago
Rich-Harris 6f5f961c8a exclude indexes from dependencies
9 years ago
Rich-Harris df468e3afb use correct dependencies for each-block updates
9 years ago
Rich-Harris aa67df7fbb simplify if-block switching code
9 years ago
Rich-Harris 796ee21cc2 rename some variables so that they make more sense
9 years ago
Rich-Harris b50ad08506 get rid of tmp variable, we dont need it
9 years ago
Rich-Harris f75a2f0aba dont update static subtrees, even with a noop
9 years ago
Rich-Harris 9818346e86 conditionalise each-block updates
9 years ago
Rich-Harris 73318de59b failing test for #381
9 years ago
Rich Harris ceea9be45a collapse consecutive if-statements with the same condition (#450)
10 years ago
Rich Harris e74b3edd30 hoist some event handlers, rewrite non-hoisted ones to avoid binding
10 years ago
Rich-Harris 20ee8370e4 failing test for #433
10 years ago
Rich-Harris de1f21553d add gitkeep file so tests pass in CI
10 years ago
Rich Harris 88cf096065 remove #433 test for now
10 years ago
Rich Harris 7479219f3c move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433
10 years ago