Commit Graph

66 Commits (e5050a36212975a501b77a82e593566c0a72b413)

Author SHA1 Message Date
Richard Harris ca0e5df0d8 update parser and js tests
6 years ago
Conduitry bee6fe7ebc require whitespace after `{@html` (#2154)
6 years ago
Richard Harris 6c85f6a6b5 change :elseif to :else if - fixes #2137
6 years ago
Richard Harris 3953c2dbfc error on invalid compiler options — closes #2094
6 years ago
Rich Harris 687e352209 rename .html files to .svelte
6 years ago
Conduitry a270661d20 rename `<svelte:meta>` to `<svelte:options>` (#2017)
6 years ago
Rich Harris b1d919f3f2
Overhaul stats — closes #1891
6 years ago
Conduitry f8d69e296f replace <svelte:document> with <svelte:body> (#1846)
6 years ago
Richard Harris 2eb881dcb6 prevent invalid svelte: tags - fixes #1948
6 years ago
Rich Harris 48f1f6b4d0
implement `bind:this`
6 years ago
Rich Harris f45e2b70fd
Implement reactive assignments (#1839)
6 years ago
Rich Harris 82b1b75afe implement event modifiers
6 years ago
Rich Harris 9e07e3f77f include solidus in attribute values - fixes #1772
6 years ago
Rich Harris 956f318bea while we're here, update parser output files
6 years ago
Rich Harris 9031c16905
[WIP] Refactor, change where validation occurs (#1721)
6 years ago
James Birtles df4ca0103d fix test
6 years ago
Rich Harris 98e63b37e9 groundwork for animations (#1431)
7 years ago
Rich Harris 506ab3952e destructuring
7 years ago
Rich Harris 8dc17b77db allow arbitrary expressions in each block keys - fixes #703
7 years ago
Rich Harris 4c9ba2ef71 update parser tests
7 years ago
Rich Harris 5a457bfb87 rename loc to start, include character info in locations
7 years ago
Rich Harris 21168bf5f1 remove v1 parser tests
7 years ago
Rich Harris 35f4a1f063 add codes to errors
7 years ago
Rich Harris 7576d7dc93 update keyed each block syntax
7 years ago
Rich Harris 9bba8d18d1 implement dynamic components etc
7 years ago
Rich Harris cb514afde4 more tests, support svelte: elements
7 years ago
Rich Harris 258466ebbe attribute shorthand
7 years ago
Rich-Harris 90a372ebf3 brute force new keyed each block syntax
7 years ago
Rich-Harris cc0055cf82 update parser for v2
7 years ago
Rich-Harris eebd47d02b add v2 parser tests, handle single curly tags
7 years ago
Rich-Harris 416fc0c81b include spread with other attributes
7 years ago
Rich-Harris d0c696bb2b merge master -> mrkishi-spreadh
7 years ago
Jacob Wright 04f5d5c975 Adds actions to components
7 years ago
mrkishi b5102f4f1b Add spread -- rough idea
7 years ago
Rich Harris 39694c31c3 nicer error messages
7 years ago
Rich Harris f97036dd39 error if ref:foo has a value
7 years ago
Jacob Wright 6d4f8d889a Refactor directive parsing for code reuse
7 years ago
Rich Harris ff67b137c4 empty blocks are a dev warning, not an error
7 years ago
Rich Harris a4d08c205a error on unclosed comments and blocks with only whitespace
7 years ago
Christopher Pfohl b55ccc6d9f Make sure scripts are passing good data so it's only the parse that can go wrong
7 years ago
Christopher Pfohl c62f77a5d2 Empty Each Blocks should have consistent behavior.
7 years ago
Rich Harris 80c55b1e51 oops
7 years ago
Rich Harris a85b09ea97 handle wacky identifier names in templates
7 years ago
Rich Harris 20962f9d82 add option to disable two-way binding (#54)
7 years ago
Rich Harris 5904a647db
support dynamic import - closes #1003
7 years ago
Rich Harris 0d42ff84db fix tests, finish renaming stuff
7 years ago
Rich Harris 4f991536d4 parse :Switch tags
7 years ago
Rich Harris d783993d23 halfway there
7 years ago
Rich Harris 908fe2ab7a parse await-then-catch
7 years ago
Jacob Mischka 5d27d3fda7
Add array destructuring for each contexts
7 years ago