Commit Graph

96 Commits (3e9d9740f85abea4ec1b1664c7a8a7e4bcfad304)

Author SHA1 Message Date
Rich Harris 75ea52754d always use helpers if referenced, not just for CallExpressions, and warn on context clashes (#575)
7 years ago
Rich Harris b2ea03dde0 prevent textarea from having both value and children
7 years ago
Rich-Harris 78adc5b226 more TS
7 years ago
Rich-Harris 4d5107113e more TS
7 years ago
Rich-Harris 48384b846c typescriptify validator
7 years ago
Rich-Harris 7c3fca57cf more typescript conversion
7 years ago
Rich-Harris b619d077a1 Merge branch 'master' into typescript
7 years ago
Conduitry 4c740513f8 downgrade invalid callee error for event handlers to a warning (#579)
7 years ago
Rich-Harris 8d07a5f9bd gah, rollup needs the file extensions. which idiot wrote it
7 years ago
Rich-Harris 13b87acfb9 remove .ts file extensions
7 years ago
Rich-Harris 1c5e6e7430 rename all (almost) .js files
7 years ago
Rich-Harris 642b414c9c validate transition directives - closes #564
7 years ago
Rich-Harris 37749bd3e4 validate <:Window>
7 years ago
Rich-Harris 7f76ab24f9 Merge branch 'master' into gh-7
8 years ago
Rich-Harris 8ccad1f107 first working intro transition, woooo
8 years ago
Rich Harris a2fd36f86c Provide second argument to validator.error with bind:checked errors
8 years ago
Rich-Harris d0c0fbcef4 add transitions property to default export, track intros/outros in Block
8 years ago
Rich-Harris 754688cf48 include destroy as valid built-in method for event handlers (fixes #523)
8 years ago
Rich-Harris e345287a76 rename root to state, and allow state to be used as context
8 years ago
Rich Harris e1a1e6507a Merge branch 'master' into gh-406
8 years ago
Rich-Harris e306366f8c use map rather than object
8 years ago
Rich-Harris 1040db97cb implement bind:duration and bind:paused
8 years ago
Rich-Harris 359e67617d implement bind:currentTime
8 years ago
Rich-Harris b914a2294a validate bindings
8 years ago
Rich Harris cc722f8f7a handle this.get special case in helpers
8 years ago
Rich Harris fa65f7af60 enforce helper function purity
8 years ago
Rich Harris c7ac8b82ba check that event handler callee corresponds to a valid method
8 years ago
Rich Harris 3595470305 validate namespaces
8 years ago
Conduitry 4fe03652f8 warn if options.name does not begin with a capital letter; tidying
8 years ago
Rich Harris 99d6502bfd better error for attempts to use getters/setters for methods. closes #425
8 years ago
Rich Harris 3006a245af more consistent naming
8 years ago
Conduitry f6934a1d20 disallow `import root` during validation
8 years ago
Conduitry 6d1623cf0e new aliaser mechanism replacing existing mechanism and counters; a bunch more deconflicting
8 years ago
Conduitry 7d03b74576 use maps and sets in many places instead of plain objects
8 years ago
Rich Harris 543ee2f870 update tests
8 years ago
Rich Harris 16e3574bfb warn on onrender/onteardown, replace with oncreate/ondestroy (#40)
8 years ago
Arpad Borsos 91551b9d43
make html validators work inside else blocks
8 years ago
Rich-Harris 811bef071d remove redundant if block to increase patch coverage
8 years ago
Rich-Harris b90ad17ad1 throw if options.name is illegal
8 years ago
Rich Harris e016b200ef include filename in error/warning objects
8 years ago
Rich-Harris a35c516350 bump coverage – duplicate default export is handled by acorn
8 years ago
Rich-Harris 4a610f7073 throw if default export is not an object literal
8 years ago
Rich-Harris 017b67aa38 ensure onrender and onteardown are not arrow function expressions
8 years ago
Rich-Harris a6c648b086 error if method is an arrow function expression and uses `this` or `arguments` (#179)
8 years ago
Rich-Harris fbe130835d add support for declared namespaces – fixes #147
8 years ago
Rich Harris 7684afb2f8 move files into src in preparation for SSR integration
8 years ago