Commit Graph

153 Commits (43d0b5e5efbccebe34dd744c2594f00e466b2347)

Author SHA1 Message Date
Rich Harris a59cd36a39
Merge pull request #2321 from sveltejs/gh-2295
6 years ago
Conduitry ecd7c6e9aa warn on template references to global variables (#2295)
6 years ago
Conduitry fa79a72348 disallow bindings to global variables (#2295)
6 years ago
Rich Harris 16106d113d handle foreignObject correctly, default to svg namespace for top-level svg elements - fixes #2298
6 years ago
Richard Harris 34c4f79998 augment warnings to help people figure out they need to add a <script>
6 years ago
Richard Harris 73e45ab483 update validate tests
6 years ago
Conduitry a26b276c5e update tests
6 years ago
Rich Harris 4541d58798
Add a tutorial (#2132)
6 years ago
Richard Harris 248f55a574 move warnings out of stats
6 years ago
Richard Harris f1d4ff6268 remove onwarn option, just use stats.warnings instead
6 years ago
Richard Harris 871147260c always warn on empty block - fixes #2042
6 years ago
Rich Harris 206a3d0131 update tests
6 years ago
Rich Harris 687e352209 rename .html files to .svelte
6 years ago
Rich Harris f64a661fa5 better cyclical dependency detection - fixes #2055
6 years ago
Conduitry a270661d20 rename `<svelte:meta>` to `<svelte:options>` (#2017)
6 years ago
Conduitry 67af1a203e disallow `slot` as a prop name in inline components (#2019)
6 years ago
Rich Harris b1d919f3f2
Overhaul stats — closes #1891
6 years ago
Rich Harris c2e6d1bf0d
Better composition — implements https://github.com/sveltejs/rfcs/pull/12
6 years ago
Richard Harris 88c674079b always use stats.warn instead of options.onwarn - fixes #1918
6 years ago
Rich Harris 48f1f6b4d0
implement `bind:this`
6 years ago
Rich Harris f45e2b70fd
Implement reactive assignments (#1839)
6 years ago
Rich Harris b3b95d4ee6 disallow passive|preventDefault combo
6 years ago
Rich Harris 8ec02b336d disallow once/passive in legacy mode, for now
6 years ago
Rich Harris aa203973e0 add some more modifier validation tests
6 years ago
Rich Harris 769e03296f merge master -> gh-1088
6 years ago
Rich Harris 945134bc81 warn on unused helpers - fixes #1704
6 years ago
Rich Harris c52a6f011b dont warn on empty block for nbsp - fixes #1658
6 years ago
Admin 7c4b9a5a41 Changes stop and prevent to stopPropagation and preventDefault
6 years ago
Rich Harris 401a6fea5d handle single identifiers in {@debug} tags
6 years ago
Admin 4004a569e1 Adds tests for valid and invalid debug tag usage.
6 years ago
Admin adfc0e3e45 Adds invalid test for event-modifiers.
6 years ago
Admin a3c71af5c5 Changes {@debug _ } to {@debug}
6 years ago
Admin 622e7b0190 Adds debug all option to debug tag
6 years ago
Admin 89412e370e Adds validation for invalid reference names like foo-bar.
6 years ago
Christian Kaisermann 19d541ab77 Add refs.* to valid event handler callees warning message
7 years ago
Conduitry 5e8a8b95e5 update some stray references to v1 syntax
7 years ago
Rich Harris 94206ca439 add animation validation tests
7 years ago
Rich Harris 4a67542bec prevent bind:offsetWidth etc on void elements
7 years ago
Rich Harris fe4637305b add validation logic, error on dimension bindings for SVG elements
7 years ago
Rich Harris aaab6853ce support $method(...) calls, and warn on store.method(...)
7 years ago
Rich Harris 5a457bfb87 rename loc to start, include character info in locations
7 years ago
Rich Harris b9fcc16d68 update test
7 years ago
Rich Harris 73e83e5571 tidy up
7 years ago
Rich Harris cae4dd93bf fix some more tests
7 years ago
Rich Harris 39ad124c99 update validation tests
7 years ago
Rich Harris 1143b0a991 remove v1 tests
7 years ago
Rich Harris 80e0dceb9a remove validate and Stylesheet from public API
7 years ago
Rich Harris c1573dbf2c implement onstate and onupdate
7 years ago
Rich Harris 410f44dced Merge branch 'master' into gh-1197
7 years ago
Rich Harris 33afb7e49a add some onstate/onupdate tests
7 years ago