Commit Graph

44 Commits (e8c07e8b0c23ed6bbdc8c1cdf53b9b336545e266)

Author SHA1 Message Date
Rich-Harris e8c07e8b0c fix destruction of compound if blocks with outros
8 years ago
Rich-Harris 6dfb568d2a fix insertion order of if blocks and their anchors
8 years ago
Rich-Harris b342f2e8b7 fix outros on compound if blocks, get IfBlock.js coverage to 100%
8 years ago
Rich-Harris c1a1a01bf0 generate less code for if-blocks with else-blocks (closes #540)
8 years ago
Rich-Harris ec0e4a62cf support transitions in compound if-blocks
9 years ago
Rich-Harris dfe00d8627 support dynamic simple if-blocks
9 years ago
Rich-Harris 5638a7631b restart animations on secondary intro, various bits of cleanup
9 years ago
Rich-Harris aa67f8b8c4 abort transitions
9 years ago
Rich-Harris 7f76ab24f9 Merge branch 'master' into gh-7
9 years ago
Conduitry f74941b293 fix simple if blocks with top-level or conditions (#532)
9 years ago
Rich-Harris 2a5b0ee1a4 support very basic outro transitions
9 years ago
Rich-Harris 4cb1578147 reduce indirection
9 years ago
Rich-Harris d274d08734 only create anchors for if blocks when necessary
9 years ago
Rich-Harris 162281ef4f populate state in preprocess step, including naming DOM nodes
9 years ago
Rich-Harris 86413ef4fa optimise simple if-blocks
9 years ago
Rich-Harris 080afc99a8 simplify if-block switching code
9 years ago
Rich-Harris 950f2ce2fd dont update static subtrees, even with a noop
9 years ago
Rich-Harris 92b49eed4e more tidying up
9 years ago
Rich-Harris b574c405eb conditionalise each-block updates
9 years ago
Rich-Harris ab19649dfa preprocess template, so that we can discover dependencies ahead of time
9 years ago
Rich-Harris f88788cc29 rename fragment to block everywhere
9 years ago
Rich-Harris 0050871197 more consistent naming
9 years ago
Rich-Harris aa41135f21 remove redundant addSourcemapLocations calls
9 years ago
Rich-Harris 552820cd7f rename Fragment to Block
9 years ago
Rich-Harris bd85ffbf28 move render logic into fragment
9 years ago
Rich-Harris cca91f88bb remove getBuilders
9 years ago
Rich-Harris 078f36be6a get rid of fragment.type
9 years ago
Rich-Harris c87967be69 rename state.target to more self-explanatory state.parentNode
9 years ago
Rich-Harris a9fb93eb32 remove redundant localElementDepth
9 years ago
Rich-Harris 421f3d698f separate current *fragment* from current *generator state*
9 years ago
Rich-Harris d93a3698fb all tests passing once more. now the real work begins
9 years ago
Rich Harris c0442b5eb1 another horrible half-done commit
9 years ago
Rich Harris d0752cd6b1 another half-done commit
9 years ago
Rich Harris 3006a245af more consistent naming
9 years ago
Rich-Harris b8705a5b0c turn dom generator visitors into functions
9 years ago
Rich-Harris be33a29a56 mostly fix insane node 4 issue
9 years ago
Conduitry d2a701c4f5 use snake case in generated identifiers (#419)
9 years ago
Conduitry 6d1623cf0e new aliaser mechanism replacing existing mechanism and counters; a bunch more deconflicting
9 years ago
Rich Harris 2165f08839 format function parameters
9 years ago
Conduitry cdb4a3568d use empty comments as anchors
9 years ago
Rich-Harris 443d7d825a use DomGenerator subclass, instead of events
9 years ago
Rich Harris 47f64be928 more refactoring
9 years ago
Rich Harris b71ec52cae move createAnchor out of generator
9 years ago
Rich-Harris f73a87230a move some files around
9 years ago