Commit Graph

135 Commits (9883fb67da84cd30c03c26f5e1c6f0be9bec2bc5)

Author SHA1 Message Date
Rich Harris 70034ea997 bind to destructured properties
7 years ago
Rich Harris 9607593705 sparse array patterns
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 f892389b00 no need to clone ast
7 years ago
Rich Harris 67e4a90f18 parse <slot> as element in custom element mode
7 years ago
Rich Harris ec50c5ec8c <svelte:head>
7 years ago
Rich Harris 577e28b8be svelte:component
7 years ago
Rich Harris 32774a821d more stuff
7 years ago
Rich Harris 9ff1beec48 WIP
7 years ago
Rich Harris fb9d7cdb28 remove obsolete hash stuff
8 years ago
Rich Harris 5a457bfb87 rename loc to start, include character info in locations
8 years ago
Rich Harris 07bad96719 tidy up
8 years ago
Rich Harris a2759604cb SSR tests
8 years ago
Rich Harris 7fe139feaa
Merge pull request #1340 from sveltejs/gh-474
8 years ago
Rich Harris 35f4a1f063 add codes to errors
8 years ago
Conduitry bed13d2147 in v2, don't parse for interpolations in non-root style elements (#1339)
8 years ago
Rich Harris 7576d7dc93 update keyed each block syntax
8 years ago
Rich Harris 9bba8d18d1 implement dynamic components etc
8 years ago
Rich Harris 7681939d3e fix head/window meta tags
8 years ago
Rich Harris cb514afde4 more tests, support svelte: elements
8 years ago
Rich Harris 31ee144b9c attribute shorthand
8 years ago
Rich Harris 258466ebbe attribute shorthand
8 years ago
Rich-Harris 90a372ebf3 brute force new keyed each block syntax
8 years ago
Rich-Harris cc0055cf82 update parser for v2
8 years ago
Rich-Harris eebd47d02b add v2 parser tests, handle single curly tags
8 years ago
Rich Harris 5d02b9e090
Merge pull request #1296 from sveltejs/fix-errors
8 years ago
Rich-Harris f6dd6edc9d fix CompileError constructor
8 years ago
Rich-Harris 416fc0c81b include spread with other attributes
8 years ago
Rich-Harris d0c696bb2b merge master -> mrkishi-spreadh
8 years ago
Jacob Wright 04f5d5c975 Adds actions to components
8 years ago
mrkishi b5102f4f1b Add spread -- rough idea
8 years ago
Rich Harris 39694c31c3 nicer error messages
8 years ago
Rich Harris f97036dd39 error if ref:foo has a value
8 years ago
Rich Harris bd74929920 dont treat :foo as a directive
8 years ago
Jacob Wright 6d4f8d889a Refactor directive parsing for code reuse
8 years ago
Rich Harris 1bc675da50 fix a couple of TODOs
8 years ago
Conduitry 8c1f09db1f upgrade acorn and parse as ES2018
8 years ago
Rich Harris b3049a6fa0
Merge pull request #1158 from sveltejs/gh-1156
8 years ago
Rich Harris bc6ee3ef9f increase test coverage, handle immediately-closed blocks
8 years ago
Rich Harris ff67b137c4 empty blocks are a dev warning, not an error
8 years ago
Conduitry 5d0f44ef41 rework handling of non-root <script> and <style>
8 years ago
Rich Harris a4d08c205a error on unclosed comments and blocks with only whitespace
8 years ago
Rich Harris 9fbcddf338 base stylesheet.hash on css content, and revert parsed.hash
8 years ago
Rich Harris df5a32a577 Merge branch 'issue-1091' of https://github.com/emilos/svelte into emilos-issue-1091
8 years ago
Rich Harris a85b09ea97 handle wacky identifier names in templates
8 years ago
Emil Ajdyna f9fc7c9e91 Base scoping hashes on CSS content rather than entire file
8 years ago
Conduitry c42e6f9d71 store <script> and <style> contents on Element node itself
8 years ago
Conduitry 41744e25fc parse non-top-level <script> and <style> tags as one piece of Text
8 years ago
Rich Harris 20962f9d82 add option to disable two-way binding (#54)
8 years ago