Commit Graph

36 Commits (30d4c1c16690e82222d9ee3243e5d070c94e5768)

Author SHA1 Message Date
Rich-Harris 30d4c1c166 less indirection when mounting
9 years ago
Rich-Harris 1d5018bf1e tame each-block code a bit
9 years ago
Rich-Harris 3d259f46ee rename some things so they make more sense
9 years ago
Rich Harris 1e2c8593f2 hoist some event handlers, rewrite non-hoisted ones to avoid binding
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 abf774bc57 remove generator.push and generator.pop
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 063e76f322 baby steps...
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 2d4f9eac00 make visitors responsible for visiting their own children
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
Conduitry 7d03b74576 use maps and sets in many places instead of plain objects
9 years ago
Rich Harris 98d9cdbea7 allow each blocks to introduce reserved words as contexts (#222)
9 years ago
Rich Harris eb44659589 add generator.helper method, use it in place of generator.uses[...]
9 years ago
Conduitry cdb4a3568d use empty comments as anchors
9 years ago
Arpad Borsos 01cc3564be
Move EachBlock and RawMustache detach code into shared
9 years ago
Arpad Borsos 6f12726948
do not redefine each item, as noted in #209
9 years ago
Rich-Harris d0ffb64eba naive implementation of keyed updates (#81)
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 529d3a4a0e more refactoring – sort computations, move addElement and addRenderer out of generator
9 years ago
Rich-Harris f73a87230a move some files around
9 years ago