Commit Graph

69 Commits (0997107e1d3baecfd92ec1f1494dbcb5cd7607c5)

Author SHA1 Message Date
Jacob Mischka 5d27d3fda7
Add array destructuring for each contexts
9 years ago
Rich Harris 7a8c8fd577 replace {{yield}} with <slot/>
9 years ago
Rich Harris 82559c3775 support ref:foo as a CSS selector (#693)
9 years ago
Rich Harris c98e1f49d3 update parser tests
9 years ago
Rich Harris c4ad36023c move whitespace logic out of parse and into preprocess
9 years ago
Rich Harris 135f626395 include ast in svelte.compile return value (#632)
9 years ago
Rich Harris 10ecd81734 prettierfy test files
10 years ago
Rich Harris d752959ef1 change error message for invalid bindings
10 years ago
Rich Harris 5ccc200222 separate parsing rules for textareas
10 years ago
Rich-Harris 53c5c32da3 allow parameter-less transitions
10 years ago
Rich-Harris 2784ae0ade parse transition directives
10 years ago
Rich-Harris 75e8d6205e better error for bind:value="{{foo}}" - fixes #437
10 years ago
Rich-Harris 05ea031895 prevent unclosed <script> causing infinite loop
10 years ago
Rich-Harris fc646925db make it easier to run parser tests solo
10 years ago
Rich-Harris 4360a03ffd parse <:Window> tags
10 years ago
Rich Harris efce7acabe Merge pull request #385 from sveltejs/gh-383
10 years ago
Rich Harris 854a37c0d7 allow reserved words in tags e.g. {{class}} (#383)
10 years ago
Rich Harris e6d088d753 implement :shorthand attributes
10 years ago
Rich Harris 5866a99b9a treat binding values as expressions
10 years ago
Rich-Harris 60ed068a59 move tests around to facilitate registering babel based on environment
10 years ago
Rich Harris a362b436b2 Merge pull request #352 from sveltejs/gh-348
10 years ago
Rich-Harris ce6178d281 differentiate between nbsp and other whitespace (#348)
10 years ago
Conduitry 63d9f058f3 fix test
10 years ago
Rich-Harris 0f60242bb9 self-references (#51)
10 years ago
Rich-Harris e480103de0 better errors for malformed event handlers (#220)
10 years ago
Rich Harris 2efd532563 better error for unmatched closing tag (#321)
10 years ago
Rich Harris f85e343a9f more informative error message when elements/blocks are left open (#258)
10 years ago
Rich Harris 0f2f309ff6 handle implicitly closed elements
10 years ago
Rich Harris 3e6e5e5304 normalise CSS parse errors
10 years ago
Rich Harris 2d5fd6f3a5 work around some css-tree quirks
10 years ago
Rich Harris 27579cd668 include CSS AST in svelte.parse output
10 years ago
Matt Steitle 1b16c02fe0 dontThrowParseErrorOnDoctypeDeclaration: Adding unit test for doctype tag
10 years ago
Rich-Harris fc977a2abe provide useful feedback on encountering void element closing tag
10 years ago
Rich-Harris 8340583fa1 parse @id for keyed each blocks (#81)
10 years ago
Rich-Harris a72955faa2 fix typo, disallow multiple style/script tags
10 years ago
Fabrice Weinberg 75cf9d16ce Make sure parser only allows unique attribute names
10 years ago
Rich Harris f5b78e406c Merge pull request #122 from sveltejs/each-else
10 years ago
Arpad Borsos 9187c2dd09
add parser support for raw mustache tags
10 years ago
Arpad Borsos fec55a1ccd
add each-else support to parser
10 years ago
Fabrice Weinberg 4bcbdfb5ae Parse {{yield}} as YieldTag
10 years ago
Rich-Harris 90fac61d2a use decodeCharacterReferences in text.js, not tag.js
10 years ago
Fabrice Weinberg 4b9832f03a Convert entities of all text nodes
10 years ago
Rich Harris e4a9344bdb Merge pull request #70 from sveltejs/gh-64
10 years ago
Rich Harris db65f01ee3 handle trailing comments in script tags – closes #64
10 years ago
Arpad Borsos 8518065c97
also trim whitespace from elseif/else blocks
10 years ago
Rich-Harris 817d371826 fix readUntil infinite loop bug
10 years ago
Rich-Harris 2741eee8bf bind:foo shorthand – closes #20
10 years ago
Rich-Harris b1b47696b1 implement elseif
10 years ago
Rich-Harris 77b600d726 add {{else}} tests
10 years ago
Rich-Harris 632a980948 wrap script block in IIFE to prevent pollution
10 years ago