Commit Graph

67 Commits (f314b1d695732d8ebcff58a3e01229b17ee088aa)

Author SHA1 Message Date
Rich Harris 17a95239b3 support ref:foo as a CSS selector (#693)
9 years ago
Rich Harris 6a6857624f update parser tests
9 years ago
Rich Harris 137cefde72 move whitespace logic out of parse and into preprocess
9 years ago
Rich Harris 0c0122cd1f include ast in svelte.compile return value (#632)
9 years ago
Rich Harris ecc84fbecf prettierfy test files
9 years ago
Rich Harris 4b08fe38f2 change error message for invalid bindings
9 years ago
Rich Harris 02068bfb3a separate parsing rules for textareas
9 years ago
Rich-Harris 33bce40839 allow parameter-less transitions
9 years ago
Rich-Harris 41700f689b parse transition directives
9 years ago
Rich-Harris 2ce0cbec23 better error for bind:value="{{foo}}" - fixes #437
10 years ago
Rich-Harris f9fc2f37dc prevent unclosed <script> causing infinite loop
10 years ago
Rich-Harris 3672b61b37 make it easier to run parser tests solo
10 years ago
Rich-Harris eaf4a2e8bd parse <:Window> tags
10 years ago
Rich Harris a64d2081ea Merge pull request #385 from sveltejs/gh-383
10 years ago
Rich Harris e71d4e0d53 allow reserved words in tags e.g. {{class}} (#383)
10 years ago
Rich Harris 8b528bada1 implement :shorthand attributes
10 years ago
Rich Harris 2ac793c561 treat binding values as expressions
10 years ago
Rich-Harris f7c1fb0c57 move tests around to facilitate registering babel based on environment
10 years ago
Rich Harris 4b23c0ac36 Merge pull request #352 from sveltejs/gh-348
10 years ago
Rich-Harris bb2cd0d33f differentiate between nbsp and other whitespace (#348)
10 years ago
Conduitry 222a8cd5fb fix test
10 years ago
Rich-Harris cac61b2b0f self-references (#51)
10 years ago
Rich-Harris 3e4afe5052 better errors for malformed event handlers (#220)
10 years ago
Rich Harris 28aaa25bb5 better error for unmatched closing tag (#321)
10 years ago
Rich Harris da70a3502c more informative error message when elements/blocks are left open (#258)
10 years ago
Rich Harris 8d807be4b1 handle implicitly closed elements
10 years ago
Rich Harris c2cc5e5fb8 normalise CSS parse errors
10 years ago
Rich Harris ef4d7e2538 work around some css-tree quirks
10 years ago
Rich Harris a1b5f70d66 include CSS AST in svelte.parse output
10 years ago
Matt Steitle 3a9c3bba39 dontThrowParseErrorOnDoctypeDeclaration: Adding unit test for doctype tag
10 years ago
Rich-Harris d685b4a23d provide useful feedback on encountering void element closing tag
10 years ago
Rich-Harris 388a3e24a3 parse @id for keyed each blocks (#81)
10 years ago
Rich-Harris 7d520bd54a fix typo, disallow multiple style/script tags
10 years ago
Fabrice Weinberg bc54600b6d Make sure parser only allows unique attribute names
10 years ago
Rich Harris 1ba34f90ed Merge pull request #122 from sveltejs/each-else
10 years ago
Arpad Borsos a8462f3d11 add parser support for raw mustache tags
10 years ago
Arpad Borsos 4f81279b24 add each-else support to parser
10 years ago
Fabrice Weinberg 4a8d868e90 Parse {{yield}} as YieldTag
10 years ago
Rich-Harris d5defef584 use decodeCharacterReferences in text.js, not tag.js
10 years ago
Fabrice Weinberg d94858619b Convert entities of all text nodes
10 years ago
Rich Harris d802afb2db Merge pull request #70 from sveltejs/gh-64
10 years ago
Rich Harris b2000a467b handle trailing comments in script tags – closes #64
10 years ago
Arpad Borsos 25797a562e 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
Rich-Harris 370db7d269 scoped css
10 years ago
Rich-Harris 0d4728faf2 fix entities in attributes
10 years ago