Commit Graph

42 Commits (796adf89619063bdfd2878bb08747854c110266b)

Author SHA1 Message Date
Rich-Harris 796adf8961 fix outros on compound if blocks, get IfBlock.js coverage to 100%
10 years ago
Rich-Harris 64dbd45601 generate less code for if-blocks with else-blocks (closes #540)
10 years ago
Rich-Harris 90105e7371 support transitions in compound if-blocks
10 years ago
Rich-Harris a839f7fc9a support dynamic simple if-blocks
10 years ago
Rich-Harris 3d5e3d7114 restart animations on secondary intro, various bits of cleanup
10 years ago
Rich-Harris 9a29bad538 abort transitions
10 years ago
Rich-Harris 3eda59d2cb Merge branch 'master' into gh-7
10 years ago
Conduitry dcd2a99a77 fix simple if blocks with top-level or conditions (#532)
10 years ago
Rich-Harris 7aa5273fe4 support very basic outro transitions
10 years ago
Rich-Harris aafadd9bc1 reduce indirection
10 years ago
Rich-Harris e903ff69fc only create anchors for if blocks when necessary
10 years ago
Rich-Harris 12f211c6a8 populate state in preprocess step, including naming DOM nodes
10 years ago
Rich-Harris adaccacc32 optimise simple if-blocks
10 years ago
Rich-Harris aa67df7fbb simplify if-block switching code
10 years ago
Rich-Harris f75a2f0aba dont update static subtrees, even with a noop
10 years ago
Rich-Harris 35a45799f2 more tidying up
10 years ago
Rich-Harris 9818346e86 conditionalise each-block updates
10 years ago
Rich-Harris 72f4941417 preprocess template, so that we can discover dependencies ahead of time
10 years ago
Rich-Harris 4ef0ce9975 rename fragment to block everywhere
10 years ago
Rich-Harris e8336f96d3 more consistent naming
10 years ago
Rich-Harris 97efdecb25 remove redundant addSourcemapLocations calls
10 years ago
Rich-Harris 88bb820727 rename Fragment to Block
10 years ago
Rich-Harris d3fd777c83 move render logic into fragment
10 years ago
Rich-Harris a207a44aa5 remove getBuilders
10 years ago
Rich-Harris 3f066307eb get rid of fragment.type
10 years ago
Rich-Harris a63acc8520 rename state.target to more self-explanatory state.parentNode
10 years ago
Rich-Harris a135f4931d remove redundant localElementDepth
10 years ago
Rich-Harris 2cd132e44d separate current *fragment* from current *generator state*
10 years ago
Rich-Harris b97438749f all tests passing once more. now the real work begins
10 years ago
Rich Harris 505da643d3 another horrible half-done commit
10 years ago
Rich Harris b0500e3019 another half-done commit
10 years ago
Rich Harris 6d993c0cc6 more consistent naming
10 years ago
Rich-Harris 21dfd73c0a turn dom generator visitors into functions
10 years ago
Rich-Harris 55c2c6920f mostly fix insane node 4 issue
10 years ago
Conduitry 516117e2f1 use snake case in generated identifiers (#419)
10 years ago
Conduitry f1b608e706 new aliaser mechanism replacing existing mechanism and counters; a bunch more deconflicting
10 years ago
Rich Harris 1821b8a4c6 format function parameters
10 years ago
Conduitry 03580ee354 use empty comments as anchors
10 years ago
Rich-Harris 617b598fbb use DomGenerator subclass, instead of events
10 years ago
Rich Harris 9d701fdba5 more refactoring
10 years ago
Rich Harris 136c22245c move createAnchor out of generator
10 years ago
Rich-Harris e1fb11a93a move some files around
10 years ago