Commit Graph

15 Commits (c89600c2b0897ef3f900b94ac26d723ece7118ba)

Author SHA1 Message Date
Rich-Harris 988ef776f1 resolve merge conflicts
9 years ago
Arpad Borsos 85e43c1543 add a createAnchor helper
9 years ago
Arpad Borsos da1b6f0b37 various refactorings & fixes
9 years ago
Arpad Borsos 2445be4572 separate create from mount
9 years ago
Arpad Borsos 8f2dad7160 various optimizations
9 years ago
Arpad Borsos 7c367e3956 optimize generated code for if statements
9 years ago
Arpad Borsos f9aa1c7e9b 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