Commit Graph

45 Commits (0c9e33a5e00542e48bd15b62502a6705529dc1fe)

Author SHA1 Message Date
Rich Harris 70034ea997 bind to destructured properties
8 years ago
Rich Harris 9607593705 sparse array patterns
8 years ago
Rich Harris 506ab3952e destructuring
8 years ago
Rich Harris a2759604cb SSR tests
8 years ago
Rich Harris 35f4a1f063 add codes to errors
8 years ago
Rich Harris cb514afde4 more tests, support svelte: elements
8 years ago
Rich-Harris cc0055cf82 update parser for v2
8 years ago
Jacob Wright 04f5d5c975 Adds actions to components
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
Conduitry 8c1f09db1f upgrade acorn and parse as ES2018
8 years ago
Rich Harris 5904a647db
support dynamic import - closes #1003
8 years ago
Rich Harris d734a6b823 start work on <slot>
8 years ago
Rich Harris 82559c3775 support ref:foo as a CSS selector (#693)
8 years ago
Rich Harris aa59dafb81 more TS fixes
8 years ago
Rich Harris 51af8c29e0 event propagation shorthand for elements (#638)
8 years ago
Rich Harris 4b1f1e8392 TS-ify spaces.js and deindent.js, so they get included in prettier task
9 years ago
Rich Harris b0a1616e31 add trailing commas to prettier config, only run on .ts files
9 years ago
Rich Harris 84595fb381 run prettier on src, update tests
9 years ago
Rich Harris d752959ef1 change error message for invalid bindings
9 years ago
Rich-Harris 7c3fca57cf more typescript conversion
9 years ago
Rich-Harris e85bec00a2 add a few type annotations
9 years ago
Rich-Harris 366c490bcc switch a few more files over
9 years ago
Rich-Harris 7f76ab24f9 Merge branch 'master' into gh-7
9 years ago
Conduitry a5dce59735 fix parsing of expressions wrapped in parentheses (#534)
9 years ago
Rich-Harris 53c5c32da3 allow parameter-less transitions
9 years ago
Rich-Harris 2784ae0ade parse transition directives
9 years ago
Rich-Harris 75e8d6205e better error for bind:value="{{foo}}" - fixes #437
9 years ago
Rich-Harris 05ea031895 prevent unclosed <script> causing infinite loop
9 years ago
Rich-Harris 6e0d0b1a12 use a map to avoid false positives
9 years ago
Rich-Harris 6c754c2a3d special case literals
9 years ago
Conduitry eab3f62f25 try to parse expressions as javascript before interpreting them as an identifier (#424)
9 years ago
Conduitry 168babe25b only do special reserved name handling when tag is all lowercase letters
9 years ago
Rich Harris 854a37c0d7 allow reserved words in tags e.g. {{class}} (#383)
9 years ago
Rich Harris 37eee7425f linting
9 years ago
Rich Harris 5866a99b9a treat binding values as expressions
9 years ago
Rich-Harris 71cfb93384 simplify JS parsing step
9 years ago
Taylor Zane Glaeser e91e12906a Resolved an issue with raw Svelte JS in a script block breaking an HTML document.
9 years ago
Rich-Harris e480103de0 better errors for malformed event handlers (#220)
9 years ago
Rich Harris 3e6e5e5304 normalise CSS parse errors
9 years ago
Rich Harris 2d5fd6f3a5 work around some css-tree quirks
9 years ago
Rich Harris 27579cd668 include CSS AST in svelte.parse output
9 years ago
Rich Harris 7684afb2f8 move files into src in preparation for SSR integration
9 years ago