Commit Graph

80 Commits (13f7bd9412c8f9da0c32cc115edfe11d3c45c133)

Author SHA1 Message Date
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
Rich Harris 7a8c8fd577 replace {{yield}} with <slot/>
7 years ago
Rich Harris 82559c3775 support ref:foo as a CSS selector (#693)
7 years ago
Rich Harris c98e1f49d3 update parser tests
7 years ago
Rich Harris c4ad36023c move whitespace logic out of parse and into preprocess
7 years ago
Rich Harris d752959ef1 change error message for invalid bindings
7 years ago
Rich Harris 5ccc200222 separate parsing rules for textareas
7 years ago
Rich-Harris 53c5c32da3 allow parameter-less transitions
8 years ago
Rich-Harris 2784ae0ade parse transition directives
8 years ago
Rich-Harris 75e8d6205e better error for bind:value="{{foo}}" - fixes #437
8 years ago
Rich-Harris 05ea031895 prevent unclosed <script> causing infinite loop
8 years ago
Rich-Harris 4360a03ffd parse <:Window> tags
8 years ago
Rich Harris efce7acabe Merge pull request #385 from sveltejs/gh-383
8 years ago
Rich Harris 854a37c0d7 allow reserved words in tags e.g. {{class}} (#383)
8 years ago
Rich Harris e6d088d753 implement :shorthand attributes
8 years ago
Rich Harris 5866a99b9a treat binding values as expressions
8 years ago
Rich-Harris 60ed068a59 move tests around to facilitate registering babel based on environment
8 years ago