Commit Graph

80 Commits (13189f9c6a700873218ec669d3da306a8df10c39)

Author SHA1 Message Date
Rich Harris f5c5083881 fix tests, finish renaming stuff
9 years ago
Rich Harris 9efe44fd53 rename :Switch -> :Component
9 years ago
Rich Harris ef838363d9 client-side dynamic components mostly working (#640)
9 years ago
Rich Harris 3c98ba7985 parse :Switch tags
9 years ago
Rich Harris 0332aeb983 SSR await-then-catch
9 years ago
Rich Harris cfd6ff54f3 halfway there
9 years ago
Rich Harris 522744b47e parse await-then-catch
9 years ago
Rich Harris dcee5fae69 throw error on illegal context (#934)
9 years ago
Rich Harris e7ae9d764b Reinstate code coverage
9 years ago
Jacob Mischka 03a13d0527 Add array destructuring for each contexts
9 years ago
Rich Harris be6e778a53 support nested <slot> elements
9 years ago
Rich Harris e0b173ebde validation
9 years ago
Rich Harris 25f08b215f replace {{yield}} with <slot/>
9 years ago
Rich Harris 224a3c0e96 start work on <slot>
9 years ago
Rich Harris 17a95239b3 support ref:foo as a CSS selector (#693)
9 years ago
Rich Harris fedbab8839 more TS fixes
9 years ago
Rich Harris e25a4d5882 event propagation shorthand for elements (#638)
9 years ago
Rich Harris a675525830 remove unused code
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 091667748f use 31 instead of 33
9 years ago
Rich Harris 2bccc7f8df use bitshifting for magic perf boost
9 years ago
Rich Harris ba0cbdb8d0 TS-ify spaces.js and deindent.js, so they get included in prettier task
9 years ago
Rich Harris 3cc89a0a95 add trailing commas to prettier config, only run on .ts files
9 years ago
Rich Harris f92b33c130 run prettier on src, update tests
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 2a9eacdb3e more TS
9 years ago
Rich-Harris 5c75730091 typescriptify validator
9 years ago
Rich-Harris 8a5b11dd74 more typescript conversion
9 years ago
Rich-Harris 65a82a5683 gah, rollup needs the file extensions. which idiot wrote it
9 years ago
Rich-Harris fd8b09eb2e add a few type annotations
9 years ago
Rich-Harris e8027c6d6f remove .ts file extensions
9 years ago
Rich-Harris 3d234f070b rename all (almost) .js files
9 years ago
Rich-Harris f06cb81c22 switch a few more files over
9 years ago
Rich-Harris 87a4fb4879 some more html entity stuff, the bits i understand at least
10 years ago
Rich-Harris d6856c135b add complete list of html entities
10 years ago
Rich-Harris 3eda59d2cb Merge branch 'master' into gh-7
10 years ago
Conduitry 3e736f5ebd fix parsing of expressions wrapped in parentheses (#534)
10 years ago
Rich-Harris 33bce40839 allow parameter-less transitions
10 years ago
Rich-Harris 41700f689b parse transition directives
10 years ago
Rich-Harris dc6fa6ff24 collapse text around comments
10 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 ce38d480be use a map to avoid false positives
10 years ago
Rich-Harris e77b998adf special case literals
10 years ago
Conduitry 265df6c989 try to parse expressions as javascript before interpreting them as an identifier (#424)
10 years ago
Rich Harris 4613ec324b Merge branch 'master' into gh-371
10 years ago
Conduitry f3fe23a263 use maps and sets in many places instead of plain objects
10 years ago
Rich-Harris 1ffc76ec3f Merge branch 'master' into gh-371
10 years ago