Commit Graph

153 Commits (fb8bab8164916bddbbc9643ae0785ea8bfe81f9c)

Author SHA1 Message Date
Rich Harris 854a37c0d7 allow reserved words in tags e.g. {{class}} (#383)
9 years ago
Rich Harris e6d088d753 implement :shorthand attributes
9 years ago
Rich Harris 5866a99b9a treat binding values as expressions
9 years ago
Rich-Harris 60ed068a59 move tests around to facilitate registering babel based on environment
9 years ago
Rich Harris a362b436b2 Merge pull request #352 from sveltejs/gh-348
9 years ago
Rich-Harris ce6178d281 differentiate between nbsp and other whitespace (#348)
9 years ago
Conduitry 63d9f058f3 fix test
9 years ago
Rich-Harris 0f60242bb9 self-references (#51)
9 years ago
Rich-Harris e480103de0 better errors for malformed event handlers (#220)
9 years ago
Rich Harris 2efd532563 better error for unmatched closing tag (#321)
9 years ago
Rich Harris f85e343a9f more informative error message when elements/blocks are left open (#258)
9 years ago
Rich Harris 0f2f309ff6 handle implicitly closed elements
9 years ago
Rich Harris 3e6e5e5304 normalise CSS parse errors
9 years ago
Rich Harris 2d5fd6f3a5 work around some css-tree quirks
9 years ago
Rich Harris 27579cd668 include CSS AST in svelte.parse output
9 years ago
Matt Steitle 1b16c02fe0 dontThrowParseErrorOnDoctypeDeclaration: Adding unit test for doctype tag
9 years ago
Rich-Harris fc977a2abe provide useful feedback on encountering void element closing tag
9 years ago
Rich-Harris 8340583fa1 parse @id for keyed each blocks (#81)
9 years ago
Rich-Harris a72955faa2 fix typo, disallow multiple style/script tags
9 years ago
Fabrice Weinberg 75cf9d16ce Make sure parser only allows unique attribute names
9 years ago
Rich Harris f5b78e406c Merge pull request #122 from sveltejs/each-else
9 years ago
Arpad Borsos 9187c2dd09
add parser support for raw mustache tags
9 years ago
Arpad Borsos fec55a1ccd
add each-else support to parser
9 years ago
Fabrice Weinberg 4bcbdfb5ae Parse {{yield}} as YieldTag
9 years ago
Rich-Harris 90fac61d2a use decodeCharacterReferences in text.js, not tag.js
9 years ago
Fabrice Weinberg 4b9832f03a Convert entities of all text nodes
9 years ago
Rich Harris e4a9344bdb Merge pull request #70 from sveltejs/gh-64
9 years ago
Rich Harris db65f01ee3 handle trailing comments in script tags – closes #64
9 years ago
Arpad Borsos 8518065c97
also trim whitespace from elseif/else blocks
9 years ago
Rich-Harris 817d371826 fix readUntil infinite loop bug
9 years ago
Rich-Harris 2741eee8bf bind:foo shorthand – closes #20
9 years ago
Rich-Harris b1b47696b1 implement elseif
9 years ago
Rich-Harris 77b600d726 add {{else}} tests
9 years ago
Rich-Harris 632a980948 wrap script block in IIFE to prevent pollution
9 years ago
Rich-Harris 370db7d269 scoped css
9 years ago
Rich-Harris 0d4728faf2 fix entities in attributes
9 years ago
Rich-Harris 4ce0f2fd58 handle unquoted attribute values
9 years ago
Rich-Harris 1eb3b7373e test inline expression parse errors
9 years ago
Rich-Harris 4e3e6a45b6 test leading whitespace in template
9 years ago
Rich-Harris a82b2e9e05 add parser.error coverage
9 years ago
Rich-Harris c205761fe1 rename .svelte to .html in test files - better idea i think
9 years ago
Rich-Harris 44a2fd31f6 refs
9 years ago
Rich-Harris fa60968ae1 basic two-way binding
9 years ago
Rich-Harris c02e849cb5 parse comments
9 years ago
Rich-Harris 7950d0a275 fix attributes with mustache tag as final chunk
9 years ago
Rich-Harris 8c8b6ccfa4 parse each block index
9 years ago
Rich-Harris 4a32e59f2e allow multiple attributes
9 years ago
Rich-Harris cb9b00254b more attribute parsing
9 years ago
Rich-Harris e3e91d45ea parse attributes
9 years ago
Rich-Harris 2f62a5aaca more whitespace stuff
9 years ago
Rich-Harris b59b33bf06 parse event handler directives
9 years ago
Rich-Harris 564ddba4bc parse <script> tags
9 years ago
Rich Harris a44398b0f1 snapshot
9 years ago