Commit Graph

49 Commits (3d8aad2f6c6a348b2d55a82ff8b5343742608e81)

Author SHA1 Message Date
Rich Harris 58f481d2e4 destructuring
8 years ago
Rich Harris 70b01fe960 allow arbitrary expressions in each block keys - fixes #703
8 years ago
Rich Harris f3262e03aa update parser tests
8 years ago
Rich Harris b72225a28f rename loc to start, include character info in locations
8 years ago
Rich Harris c854f2c9fc remove v1 parser tests
8 years ago
Rich Harris f8801feb2b add codes to errors
8 years ago
Rich Harris 844c89dce6 update keyed each block syntax
8 years ago
Rich Harris 1a41f8bddd implement dynamic components etc
8 years ago
Rich Harris 9235efb8dd more tests, support svelte: elements
8 years ago
Rich Harris 0ac3a522d9 attribute shorthand
8 years ago
Rich-Harris 8e95bf5111 brute force new keyed each block syntax
8 years ago
Rich-Harris ac13b72bd6 update parser for v2
8 years ago
Rich-Harris 6aef662fa5 add v2 parser tests, handle single curly tags
9 years ago
Rich-Harris 85c10c2172 include spread with other attributes
9 years ago
Rich-Harris c5aa5693e5 merge master -> mrkishi-spreadh
9 years ago
Jacob Wright a5ed6cbe18 Adds actions to components
9 years ago
mrkishi a287d50354 Add spread -- rough idea
9 years ago
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
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 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 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