Commit Graph

47 Commits (92444ca0e11ff25a702eb5d5646709d02889c30e)

Author SHA1 Message Date
Conduitry e76f4fe6cd recognize component name as a global identifier to be avoided (#451)
9 years ago
Rich Harris 1e2c8593f2 hoist some event handlers, rewrite non-hoisted ones to avoid binding
9 years ago
Rich-Harris 4a782bc8f6 refactor a lot of attribute code
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 063e76f322 baby steps...
9 years ago
Rich-Harris 2d4f9eac00 make visitors responsible for visiting their own children
9 years ago
Rich Harris 00f1eaee12 remove this._callbacks
9 years ago
Rich Harris 77eee8602d remove some long-since obsolete generator code
9 years ago
Rich Harris 3fcbf428bd while we're at it, remove unused stuff from generated SSR code
9 years ago
Rich Harris d2db41f811 remove unnecessary template declarations - fixes #440
9 years ago
Rich Harris 4b5754b9a7 centralise logic for manipulating source javascript
9 years ago
Rich-Harris caec96f9da make abstract removeNode function
9 years ago
Conduitry d2a701c4f5 use snake case in generated identifiers (#419)
9 years ago
Rich-Harris 1308907f67 include css in compiler output (#409)
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
Conduitry 580bd6fe63 use annotateWithScopes to get top-level declarations when deconflicting `template`
9 years ago
Conduitry c877b3c615 deconflict `template` variable (#392)
9 years ago
Conduitry 77321f8356 remove `namespace` key from generated code
9 years ago
Rich Harris 7b057e4fc2 implement bind:group for checkbox inputs (#312)
9 years ago
Rich Harris 5c436ac0e7 minor tidy-up - always add sourcemap locations for contextualised expressions
9 years ago
Conduitry de042daed3 initial support for dev versions of shared helpers
9 years ago
Conduitry 5984d98618 allow using whitelisted globals themselves in tags
9 years ago
Rich-Harris 0f60242bb9 self-references (#51)
9 years ago
Rich-Harris 69ee3e6139 allow [arrow] function expressions inside tags (#269)
9 years ago
Rich Harris a8d19839cd Merge pull request #320 from sveltejs/gh-13
9 years ago
Rich Harris d61b1927b2 add development warnings for missing data properties with dev: true (#13)
9 years ago
Rich Harris 16e3574bfb warn on onrender/onteardown, replace with oncreate/ondestroy (#40)
9 years ago
Rich Harris 98d9cdbea7 allow each blocks to introduce reserved words as contexts (#222)
9 years ago
Rich Harris 76663f98a3 prevent imported names from conflicting with built-in shared helpers (#222)
9 years ago
Rich Harris eb44659589 add generator.helper method, use it in place of generator.uses[...]
9 years ago
Rich Harris f7bbc09810 oops
9 years ago
Rich Harris 796af04cac handle shorthand properties in expressions (fixes #296)
9 years ago
Rich Harris 42497fd1aa populate map.sources and map.sourcesContent even if none of the original code is used
9 years ago
Rich Harris c1ba7638ce add outputFilename option for sourcemap generation
9 years ago
Rich Harris 11e613e7d0 handle default paramters in computed values (fixes #274)
9 years ago
Rich Harris fd655f8c5b tidy up
9 years ago
Rich Harris 32317a07a0 centralise import handling
9 years ago
Rich Harris 4df7cfa0f8 use shared generator for SSR compiler
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 7493b6c49b move some code into generator.init
9 years ago
Rich-Harris 865a184adc sort methods
9 years ago
Rich-Harris 47a7b896cc create Generator class
9 years ago