Commit Graph

158 Commits (bc06b6ffee9470ab355abf6dc8566b148985c34b)

Author SHA1 Message Date
Rich Harris acc4dfd293 Merge pull request #2607 from EmilTholin/figcaption_figure_first_element_ancestor
7 years ago
Emil Tholin 7da6ef68bc Check if a figcaption's first element ancestor is a figure
7 years ago
Emil Tholin 227a08fc59 Don't show 'Empty block' warnings for non-existent await branches
7 years ago
Richard Harris 3201e717df better error for bindings to let: values - fixes #2301
7 years ago
Richard Harris 6b1067e8c1 allow reactive declarations without dependencies - fixes #2285
7 years ago
Rich Harris 686384d50e Merge pull request #2321 from sveltejs/gh-2295
8 years ago
Conduitry 7208a07023 warn on template references to global variables (#2295)
8 years ago
Conduitry 5c97df6b84 disallow bindings to global variables (#2295)
8 years ago
Rich Harris 1447064eb5 handle foreignObject correctly, default to svg namespace for top-level svg elements - fixes #2298
8 years ago
Richard Harris 83520fbb3a augment warnings to help people figure out they need to add a <script>
8 years ago
Richard Harris 5f053325c0 update validate tests
8 years ago
Conduitry 6e04e840f9 update tests
8 years ago
Rich Harris 893a1876a1 Add a tutorial (#2132)
8 years ago
Richard Harris 5ceff3bb97 move warnings out of stats
8 years ago
Richard Harris 1146df5595 remove onwarn option, just use stats.warnings instead
8 years ago
Richard Harris af7d4332a5 always warn on empty block - fixes #2042
8 years ago
Rich Harris 8f730d524f update tests
8 years ago
Rich Harris 04c9ecb72a rename .html files to .svelte
8 years ago
Rich Harris 18747ad6d8 better cyclical dependency detection - fixes #2055
8 years ago
Conduitry 819664cbfd rename `<svelte:meta>` to `<svelte:options>` (#2017)
8 years ago
Conduitry 72f95daa55 disallow `slot` as a prop name in inline components (#2019)
8 years ago
Rich Harris 4d25d93ea0 Overhaul stats — closes #1891
8 years ago
Rich Harris 69c9422907 Better composition — implements https://github.com/sveltejs/rfcs/pull/12
8 years ago
Richard Harris 7c0413bd2c always use stats.warn instead of options.onwarn - fixes #1918
8 years ago
Rich Harris c53f2af6fd implement `bind:this`
8 years ago
Rich Harris efba821c84 Implement reactive assignments (#1839)
8 years ago
Rich Harris 3f3954102f disallow passive|preventDefault combo
8 years ago
Rich Harris 6c92d9955f disallow once/passive in legacy mode, for now
8 years ago
Rich Harris 4784ff02d6 add some more modifier validation tests
8 years ago
Rich Harris 5fd4c94270 merge master -> gh-1088
8 years ago
Rich Harris 4a01c1a2fe warn on unused helpers - fixes #1704
8 years ago
Rich Harris 96e61bc9ac dont warn on empty block for nbsp - fixes #1658
8 years ago
Admin c65f06a610 Changes stop and prevent to stopPropagation and preventDefault
8 years ago
Rich Harris 9d3ed61516 handle single identifiers in {@debug} tags
8 years ago
Admin 868eb7b0af Adds tests for valid and invalid debug tag usage.
8 years ago
Admin 8d133bf3af Adds invalid test for event-modifiers.
8 years ago
Admin 9f3d64dd25 Changes {@debug _ } to {@debug}
8 years ago
Admin cadaca24c7 Adds debug all option to debug tag
8 years ago
Admin ad3bc077e5 Adds validation for invalid reference names like foo-bar.
8 years ago
Christian Kaisermann b5ff260353 Add refs.* to valid event handler callees warning message
8 years ago
Conduitry 141f4a052b update some stray references to v1 syntax
8 years ago
Rich Harris f3475cd4fd add animation validation tests
8 years ago
Rich Harris 619c6b9bec prevent bind:offsetWidth etc on void elements
8 years ago
Rich Harris 14b6f8bb67 add validation logic, error on dimension bindings for SVG elements
8 years ago
Rich Harris 736cd9ea06 support $method(...) calls, and warn on store.method(...)
8 years ago
Rich Harris b72225a28f rename loc to start, include character info in locations
8 years ago
Rich Harris ac662d3b92 update test
8 years ago
Rich Harris 62e9f12db0 tidy up
8 years ago
Rich Harris b128399540 fix some more tests
8 years ago
Rich Harris 842e49155c update validation tests
8 years ago