Commit Graph

35 Commits (90a67d26c0bc01a0c8d0bf2c2e2b09120f8ad9d3)

Author SHA1 Message Date
Rich-Harris 642b414c9c validate transition directives - closes #564
9 years ago
Rich-Harris 37749bd3e4 validate <:Window>
9 years ago
Rich-Harris 7f76ab24f9 Merge branch 'master' into gh-7
9 years ago
Rich-Harris 8ccad1f107 first working intro transition, woooo
9 years ago
Rich Harris a2fd36f86c Provide second argument to validator.error with bind:checked errors
9 years ago
Rich-Harris d0c0fbcef4 add transitions property to default export, track intros/outros in Block
9 years ago
Rich-Harris 754688cf48 include destroy as valid built-in method for event handlers (fixes #523)
9 years ago
Rich-Harris e345287a76 rename root to state, and allow state to be used as context
9 years ago
Rich Harris e1a1e6507a Merge branch 'master' into gh-406
9 years ago
Rich-Harris e306366f8c use map rather than object
9 years ago
Rich-Harris 1040db97cb implement bind:duration and bind:paused
9 years ago
Rich-Harris 359e67617d implement bind:currentTime
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 6d1623cf0e new aliaser mechanism replacing existing mechanism and counters; a bunch more deconflicting
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
Arpad Borsos 91551b9d43
make html validators work inside else blocks
9 years ago
Rich-Harris 811bef071d remove redundant if block to increase patch coverage
9 years ago
Rich-Harris b90ad17ad1 throw if options.name is illegal
9 years ago
Rich Harris e016b200ef include filename in error/warning objects
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