Commit Graph

85 Commits (dad62871e6396583f9e9f5df80115f52a2197b0e)

Author SHA1 Message Date
Rich Harris b2c2a02f50 nicer error messages
9 years ago
Rich Harris f06cf99434 error if ref:foo has a value
9 years ago
Jacob Wright 0f9570a9b6 Refactor directive parsing for code reuse
9 years ago
Rich Harris 8b6a099ced empty blocks are a dev warning, not an error
9 years ago
Rich Harris 02574812ee error on unclosed comments and blocks with only whitespace
9 years ago
Christopher Pfohl 35a9edbb9c Make sure scripts are passing good data so it's only the parse that can go wrong
9 years ago
Christopher Pfohl 40633327c4 Empty Each Blocks should have consistent behavior.
9 years ago
Rich Harris 2abed15c99 oops
9 years ago
Rich Harris 557035c887 handle wacky identifier names in templates
9 years ago
Rich Harris 5c1f6ff206 add option to disable two-way binding (#54)
9 years ago
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