Commit Graph

40 Commits (caaa091912cd50861e841efa6f1bc76bce2e51e6)

Author SHA1 Message Date
Rich-Harris 1edfe23803 create each-block else child blocks in preprocess step
9 years ago
Rich-Harris 9818346e86 conditionalise each-block updates
9 years ago
Rich-Harris 72f4941417 preprocess template, so that we can discover dependencies ahead of time
9 years ago
Rich-Harris 4ef3e005fb reduce noise a bit
9 years ago
Rich-Harris 8ed6f7068f less indirection when mounting
9 years ago
Rich-Harris 87d794d928 tame each-block code a bit
9 years ago
Rich-Harris c80ec3a1a2 rename some things so they make more sense
9 years ago
Rich Harris e74b3edd30 hoist some event handlers, rewrite non-hoisted ones to avoid binding
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 acd8ec8453 remove generator.push and generator.pop
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 c7187d1b17 baby steps...
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 af6ab62dfa make visitors responsible for visiting their own children
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
Conduitry f3fe23a263 use maps and sets in many places instead of plain objects
10 years ago
Rich Harris 47b4570b53 allow each blocks to introduce reserved words as contexts (#222)
10 years ago
Rich Harris 13127cc51e add generator.helper method, use it in place of generator.uses[...]
10 years ago
Conduitry 03580ee354 use empty comments as anchors
10 years ago
Arpad Borsos bf18fbf00f Move EachBlock and RawMustache detach code into shared
10 years ago
Arpad Borsos 89b08d602f do not redefine each item, as noted in #209
10 years ago
Rich-Harris 9c66e15bb4 naive implementation of keyed updates (#81)
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 1e00b145cc more refactoring – sort computations, move addElement and addRenderer out of generator
10 years ago
Rich-Harris e1fb11a93a move some files around
10 years ago