Commit Graph

75 Commits (714a26783739db2bf81c71ffda9b5b8b9e17de5a)

Author SHA1 Message Date
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