Commit Graph

30 Commits (0da8b3ece277b1c9532b1ac8b4ba5eb4f6bb7cb6)

Author SHA1 Message Date
Rich Harris b0a1616e31 add trailing commas to prettier config, only run on .ts files
8 years ago
Rich Harris 84595fb381 run prettier on src, update tests
8 years ago
Rich-Harris 4d5107113e more TS
8 years ago
Rich-Harris 48384b846c typescriptify validator
8 years ago
Rich-Harris 7c3fca57cf more typescript conversion
8 years ago
Rich-Harris 8d07a5f9bd gah, rollup needs the file extensions. which idiot wrote it
8 years ago
Rich-Harris 13b87acfb9 remove .ts file extensions
8 years ago
Rich-Harris 1c5e6e7430 rename all (almost) .js files
8 years ago
Rich-Harris 642b414c9c validate transition directives - closes #564
8 years ago
Rich-Harris 37749bd3e4 validate <:Window>
8 years ago
Rich-Harris d0c0fbcef4 add transitions property to default export, track intros/outros in Block
8 years ago
Rich-Harris e345287a76 rename root to state, and allow state to be used as context
9 years ago
Rich-Harris b914a2294a validate bindings
9 years ago
Rich Harris cc722f8f7a handle this.get special case in helpers
9 years ago
Rich Harris fa65f7af60 enforce helper function purity
9 years ago
Rich Harris c7ac8b82ba check that event handler callee corresponds to a valid method
9 years ago
Rich Harris 3595470305 validate namespaces
9 years ago
Conduitry 4fe03652f8 warn if options.name does not begin with a capital letter; tidying
9 years ago
Rich Harris 99d6502bfd better error for attempts to use getters/setters for methods. closes #425
9 years ago
Rich Harris 3006a245af more consistent naming
9 years ago
Conduitry f6934a1d20 disallow `import root` during validation
9 years ago
Conduitry 7d03b74576 use maps and sets in many places instead of plain objects
9 years ago
Rich Harris 543ee2f870 update tests
9 years ago
Rich Harris 16e3574bfb warn on onrender/onteardown, replace with oncreate/ondestroy (#40)
9 years ago
Rich-Harris a35c516350 bump coverage – duplicate default export is handled by acorn
9 years ago
Rich-Harris 4a610f7073 throw if default export is not an object literal
9 years ago
Rich-Harris 017b67aa38 ensure onrender and onteardown are not arrow function expressions
9 years ago
Rich-Harris a6c648b086 error if method is an arrow function expression and uses `this` or `arguments` (#179)
9 years ago
Rich-Harris fbe130835d add support for declared namespaces – fixes #147
9 years ago
Rich Harris 7684afb2f8 move files into src in preparation for SSR integration
9 years ago