Commit Graph

35 Commits (7b9ea711536f48b2bd2c992ce19cdb32d4710d7e)

Author SHA1 Message Date
Rich Harris 61f5cbef54 Merge pull request #630 from sveltejs/gh-620
9 years ago
Rich Harris ff40308358 only enforce static type if input is bound (fixes #620)
9 years ago
Rich Harris d45699db6f warn on missing component (#623)
9 years ago
Rich Harris 10ecd81734 prettierfy test files
9 years ago
Rich Harris 1db0d465b0 Merge pull request #600 from sveltejs/gh-575
9 years ago
Rich Harris 75ea52754d always use helpers if referenced, not just for CallExpressions, and warn on context clashes (#575)
9 years ago
Rich Harris b2ea03dde0 prevent textarea from having both value and children
9 years ago
Conduitry 4c740513f8 downgrade invalid callee error for event handlers to a warning (#579)
9 years ago
Rich-Harris 642b414c9c validate transition directives - closes #564
9 years ago
Rich-Harris 37749bd3e4 validate <:Window>
9 years ago
Rich-Harris 5e042c4c8e add test
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 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 86035c3f99 unit test
9 years ago
Rich Harris 99d6502bfd better error for attempts to use getters/setters for methods. closes #425
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
Rich-Harris 60ed068a59 move tests around to facilitate registering babel based on environment
10 years ago
Rich Harris 543ee2f870 update tests
10 years ago
Rich Harris 11e613e7d0 handle default paramters in computed values (fixes #274)
10 years ago
Arpad Borsos 91551b9d43
make html validators work inside else blocks
10 years ago
Rich-Harris a35c516350 bump coverage – duplicate default export is handled by acorn
10 years ago
Rich-Harris 4a610f7073 throw if default export is not an object literal
10 years ago
Rich-Harris 017b67aa38 ensure onrender and onteardown are not arrow function expressions
10 years ago
Rich-Harris a6c648b086 error if method is an arrow function expression and uses `this` or `arguments` (#179)
10 years ago
Rich-Harris fbe130835d add support for declared namespaces – fixes #147
10 years ago
Rich Harris 0e64f26712 gather names during validation, for later deoncflicting (#88)
10 years ago
Nico Rehwaldt 65cdead991 Verify computed property dependencies
10 years ago
Rich-Harris c199407db2 more validation
10 years ago
Rich-Harris 0698525f1b basic validation
10 years ago