Commit Graph

526 Commits (32775a699dd9cbc9884ee04931c3903b832775d5)

Author SHA1 Message Date
Conduitry f74941b293 fix simple if blocks with top-level or conditions (#532)
7 years ago
Rich-Harris 6ed2a6c785 update tests
7 years ago
Conduitry a0284a4c67 Merge branch 'master' into gh-3
8 years ago
Rich Harris bfe9904db7 Update expected.js
8 years ago
Rich Harris 5f2846ae00 Merge branch 'master' into gh-507
8 years ago
Rich-Harris 9480f349ec anchor-less each blocks
8 years ago
Rich-Harris d274d08734 only create anchors for if blocks when necessary
8 years ago
Rich-Harris 162281ef4f populate state in preprocess step, including naming DOM nodes
8 years ago
Rich-Harris e345287a76 rename root to state, and allow state to be used as context
8 years ago
Rich-Harris f82d04913f hoist variables where appropriate (#504)
8 years ago
Rich-Harris 86413ef4fa optimise simple if-blocks
8 years ago
Rich-Harris 9f2bd988a0 collapse text around comments
8 years ago
Rich-Harris 3629c9e9a1 exclude indexes from dependencies
8 years ago
Rich-Harris 0c013cfd9b use correct dependencies for each-block updates
8 years ago
Rich-Harris 080afc99a8 simplify if-block switching code
8 years ago
Rich-Harris c9a2bf98a5 rename some variables so that they make more sense
8 years ago
Rich-Harris 2e7a429684 get rid of tmp variable, we dont need it
8 years ago
Rich-Harris 950f2ce2fd dont update static subtrees, even with a noop
8 years ago
Rich-Harris b574c405eb conditionalise each-block updates
8 years ago
Rich-Harris db7fe861b2 failing test for #381
8 years ago
Rich Harris 2852b96e65 collapse consecutive if-statements with the same condition (#450)
8 years ago
Rich Harris 1e2c8593f2 hoist some event handlers, rewrite non-hoisted ones to avoid binding
8 years ago
Rich-Harris 31269e84f0 failing test for #433
8 years ago
Rich-Harris 858c6b5e82 add gitkeep file so tests pass in CI
8 years ago
Rich Harris f43e71b959 remove #433 test for now
8 years ago
Rich Harris 803d1d2746 move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433
8 years ago