Commit Graph

75 Commits (f639bbed4290c146ff1d4bea845e30fdd4768562)

Author SHA1 Message Date
Efthymis Sarmpanis aa56cde383 Failing test for improper toString override in CompileError
9 years ago
Rich Harris d615c3a9b8 support dynamic import - closes #1003
9 years ago
Rich Harris f5c5083881 fix tests, finish renaming stuff
9 years ago
Rich Harris 3c98ba7985 parse :Switch tags
9 years ago
Rich Harris cfd6ff54f3 halfway there
9 years ago
Rich Harris 522744b47e parse await-then-catch
9 years ago
Jacob Mischka 03a13d0527 Add array destructuring for each contexts
9 years ago
Rich Harris 25f08b215f replace {{yield}} with <slot/>
9 years ago
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