Commit Graph

98 Commits (v1.6.4)

Author SHA1 Message Date
Rich-Harris 12a088b1ca handle multiline comments in CSS - fixes #252
9 years ago
Paul Sauve d767e6af75 Fix same issue but in SSR code
9 years ago
Arpad Borsos 01cc3564be
Move EachBlock and RawMustache detach code into shared
9 years ago
Arpad Borsos 5d74fb92c3
DRY code a bit
9 years ago
Arpad Borsos 6f12726948
do not redefine each item, as noted in #209
9 years ago
Arpad Borsos 20e1b05c45
correctly update yield fragment inside each, #230
9 years ago
Rich Harris 00db8419d2 Merge pull request #242 from sveltejs/gh-231
9 years ago
Rich Harris 57ba95e898 fix component yields inside each blocks (#230)
9 years ago
Rich Harris 45cea1fab5 make yield renderer names globally unique (#231)
9 years ago
Rich Harris 5ba51be341 dont use properties when setting <svg> element attributes (fixes #233)
9 years ago
Rich Harris 46469d4ef4 add VERSION property (closes #239)
9 years ago
Rich Harris d420e75c14 Merge pull request #235 from PaulBGD/parse-numbers-correctly
9 years ago
Rich Harris 6679aef568 just use isNaN
9 years ago
Rich Harris 5737c60674 Merge pull request #229 from Conduitry/escape-shared-path
9 years ago
Paul Sauve ca2f0a5bbb Fix partial numbers being detected as numbers
9 years ago
Conduitry c44fbe9f0a properly escape sharedPath in generated import statement
9 years ago
Conduitry 7340b7fcdb make addEventListener, removeEventListener, setAttribute shared
9 years ago
Rich-Harris 11dc7dc380 handle component directives at positions other than end (fixes #221)
9 years ago
Rich Harris 620b9ae5e8 Merge pull request #225 from sveltejs/gh-224
9 years ago
Rich-Harris fc977a2abe provide useful feedback on encountering void element closing tag
9 years ago
Arpad Borsos 91551b9d43
make html validators work inside else blocks
9 years ago
Rich-Harris 3905683e64 allow custom path for helpers (#218)
9 years ago
Rich-Harris e7dd885ecf handle directives on components (fixes #216)
9 years ago
Rich-Harris ccba20bac9 non-standalone mode (#9)
9 years ago
Rich-Harris 7da9a23349 put component methods on prototype
9 years ago
Rich-Harris c1e82f69e3 single underscore for component private properties
9 years ago
Rich-Harris 7dd129a357 make inter-component root and yield options _private
9 years ago
Rich-Harris ef933ae93b remove _mount indirection
9 years ago
Rich-Harris 9d37ae4f4b move methods out of constructor
9 years ago
Rich-Harris a16704fbf0 use helpers for DOM operations
9 years ago
Rich-Harris d0ffb64eba naive implementation of keyed updates (#81)
9 years ago
Rich-Harris 8340583fa1 parse @id for keyed each blocks (#81)
9 years ago
Rich Harris 1c3f144ae7 Merge pull request #206 from sveltejs/gh-144
9 years ago
Rich-Harris 811bef071d remove redundant if block to increase patch coverage
9 years ago
Rich-Harris b90ad17ad1 throw if options.name is illegal
9 years ago
Rich-Harris 9f6d1b2d9e remove extensions from AMD dependencies – fixes #144
9 years ago
Rich-Harris c84991217d merge master -> gh-202
9 years ago
Rich-Harris 603d61729e use SsrGenerator subclass
9 years ago
Rich-Harris 443d7d825a use DomGenerator subclass, instead of events
9 years ago
Rich Harris 8a99178070 lint
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
Conduitry 010b4cff29 stop prepending CSS with spaces (fixes #140)
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