Commit Graph

17 Commits (659eb32bc5cca9eef571e7f62e9f65b6e45f3574)

Author SHA1 Message Date
Rich Harris 659eb32bc5 deconflict names. fixes #88
9 years ago
mrkishi 119ad1432a Improve teardown code by unifying detach branches
9 years ago
Rich-Harris 7654437d7b resolve merge conflicts
9 years ago
Arpad Borsos 3f300c9b71
add a createAnchor helper
9 years ago
Arpad Borsos c1ba15875e
various refactorings & fixes
9 years ago
Arpad Borsos a80dcda2e0
separate create from mount
9 years ago
Arpad Borsos 348c5e4656
various optimizations
9 years ago
Arpad Borsos 64f8e77999
optimize generated code for if statements
9 years ago
Arpad Borsos b63a54b502
correctly insert non-element children before an anchor
9 years ago
Rich-Harris 78667bc920 only detach nodes if necessary (fixes #26)
9 years ago
Rich-Harris 8704d38503 use MagicString.Bundle for better sourcemap support
9 years ago
Rich-Harris 04388f7a0e initialise fragments with data, rather than waiting for first update
9 years ago
Rich-Harris 170f4210bc refactor slightly
9 years ago
Rich-Harris c523fc74aa only update components if their dependencies have changed
9 years ago
Rich-Harris c79b38ff6a implement else blocks
9 years ago
Rich-Harris 26a436fb87 rename template to source in generator, to avoid confusion
9 years ago
Rich-Harris 5b397b781b modularize visitors
9 years ago