Richard Harris
|
e3e3ad9be0
|
disable validation with magic comments
|
2019-08-04 10:58:43 -04:00 |
|
Rich Harris
|
cf24dbd6a9
|
Merge pull request #3336 from Conduitry/gh-3274
don't warn when using each index in key
|
2019-08-03 12:30:21 -04:00 |
|
Conduitry
|
c04def9081
|
don't warn when using each index in key (#3274)
|
2019-08-03 00:30:38 -04:00 |
|
Conduitry
|
276eb8e553
|
fix erroneous a11y warning with input type='image' (#3331)
|
2019-08-02 12:24:07 -04:00 |
|
Rich Harris
|
1fc4b1c867
|
add Error to known globals, declare catch block parameter. fixes #3064
|
2019-06-24 18:09:01 -04:00 |
|
Rich Harris
|
4e8755338a
|
oops
|
2019-06-24 13:34:18 -04:00 |
|
Rich Harris
|
86c5086c54
|
add some docs, rename to textContent and innerHTML
|
2019-06-24 13:00:16 -04:00 |
|
Richard Harris
|
8d25f5da0a
|
Merge branch 'master' of https://github.com/leporo/svelte
|
2019-06-09 17:48:27 -04:00 |
|
Rich Harris
|
1102ff6426
|
support once modifier on component events, fail on others (#2987)
* support once modifier on component events, fail on others. fixes #2654
* appease the gods of typescript
|
2019-06-09 17:34:02 -04:00 |
|
Rich Harris
|
c1960f9ef8
|
Merge branch 'master' into master
|
2019-06-09 16:39:30 -04:00 |
|
James Garbutt
|
caebe0deb8
|
Introduce ESLint to svelte sources (#2958)
* introduce eslint
* add lint npm script
* first eslint run
* use tsc stronger checks for unused vars
* fix strict typescript unused checks
* reintroduce unicode oddities
* revert ordering changes
* revert whitespace changes
* set indent lint rule as error and ignore outliers
* revert some more unicode
* reintroduce scissors unicode again
|
2019-06-09 11:31:28 -04:00 |
|
Vlad Glushchuk
|
450464f014
|
Add bind:text and bind:html support for contenteditable elements
Fixes #310
|
2019-06-06 10:38:45 +02:00 |
|
Emil Tholin
|
3f31223186
|
Add error for missing equals after attribute name
|
2019-05-15 18:11:27 +02:00 |
|
Rich Harris
|
f9a66e558b
|
failing missing-declaration test
|
2019-05-12 14:25:44 -04:00 |
|
Emil Tholin
|
0286dce026
|
Warn on improper use of reactive declarations
|
2019-05-05 15:34:57 +02:00 |
|
Rich Harris
|
78332cf5b0
|
Merge pull request #2664 from EmilTholin/each-block-destructuring-rest
Add support for object-rest in each destructuring
|
2019-05-04 11:34:37 -04:00 |
|
Rich Harris
|
16dbb8f437
|
Merge pull request #2607 from EmilTholin/figcaption_figure_first_element_ancestor
Check if a figcaption's first element ancestor is a figure
|
2019-05-04 11:21:39 -04:00 |
|
Emil Tholin
|
97ee67c08f
|
Add support for object-rest in each destructuring
|
2019-05-03 12:00:16 +02:00 |
|
Emil Tholin
|
6ebd72fc22
|
Check if a figcaption's first element ancestor is a figure
|
2019-04-28 19:15:56 +02:00 |
|
Emil Tholin
|
7ec1bdb712
|
Don't show 'Empty block' warnings for non-existent await branches
|
2019-04-27 21:49:55 +02:00 |
|
Richard Harris
|
cd0f535d83
|
better error for bindings to let: values - fixes #2301
|
2019-04-13 16:12:06 -04:00 |
|
Richard Harris
|
30c8fe0c6e
|
allow reactive declarations without dependencies - fixes #2285
|
2019-04-11 23:29:02 -04:00 |
|
Rich Harris
|
a59cd36a39
|
Merge pull request #2321 from sveltejs/gh-2295
Fix exception and warning for global variables
|
2019-03-27 08:21:48 -04:00 |
|
Conduitry
|
ecd7c6e9aa
|
warn on template references to global variables (#2295)
|
2019-03-26 13:51:44 -04:00 |
|
Conduitry
|
fa79a72348
|
disallow bindings to global variables (#2295)
|
2019-03-26 13:46:28 -04:00 |
|
Rich Harris
|
16106d113d
|
handle foreignObject correctly, default to svg namespace for top-level svg elements - fixes #2298
|
2019-03-26 12:10:41 -04:00 |
|
Richard Harris
|
34c4f79998
|
augment warnings to help people figure out they need to add a <script>
|
2019-03-16 10:19:25 -04:00 |
|
Richard Harris
|
73e45ab483
|
update validate tests
|
2019-03-15 22:44:30 -04:00 |
|
Conduitry
|
a26b276c5e
|
update tests
|
2019-03-15 18:39:02 -04:00 |
|
Rich Harris
|
4541d58798
|
Add a tutorial (#2132)
|
2019-03-10 09:30:29 -04:00 |
|
Richard Harris
|
248f55a574
|
move warnings out of stats
|
2019-02-18 13:54:27 -05:00 |
|
Richard Harris
|
f1d4ff6268
|
remove onwarn option, just use stats.warnings instead
|
2019-02-17 12:42:48 -05:00 |
|
Richard Harris
|
871147260c
|
always warn on empty block - fixes #2042
|
2019-02-17 12:35:17 -05:00 |
|
Rich Harris
|
206a3d0131
|
update tests
|
2019-02-08 09:32:36 -05:00 |
|
Rich Harris
|
687e352209
|
rename .html files to .svelte
|
2019-02-08 08:48:10 -05:00 |
|
Rich Harris
|
f64a661fa5
|
better cyclical dependency detection - fixes #2055
|
2019-02-07 11:11:14 -05:00 |
|
Conduitry
|
a270661d20
|
rename <svelte:meta> to <svelte:options> (#2017)
|
2019-01-29 17:59:40 -05:00 |
|
Conduitry
|
67af1a203e
|
disallow slot as a prop name in inline components (#2019)
|
2019-01-29 11:25:40 -05:00 |
|
Rich Harris
|
b1d919f3f2
|
Overhaul stats — closes #1891
|
2019-01-29 09:10:10 -05:00 |
|
Rich Harris
|
c2e6d1bf0d
|
Better composition — implements https://github.com/sveltejs/rfcs/pull/12
|
2019-01-26 18:53:47 -05:00 |
|
Richard Harris
|
88c674079b
|
always use stats.warn instead of options.onwarn - fixes #1918
|
2018-12-28 22:19:25 -05:00 |
|
Rich Harris
|
48f1f6b4d0
|
implement bind:this
|
2018-12-16 09:26:53 -05:00 |
|
Rich Harris
|
f45e2b70fd
|
Implement reactive assignments (#1839)
This also includes elements of RFCs 2 and 3
|
2018-12-15 19:18:03 -05:00 |
|
Rich Harris
|
b3b95d4ee6
|
disallow passive|preventDefault combo
|
2018-10-28 13:58:43 -04:00 |
|
Rich Harris
|
8ec02b336d
|
disallow once/passive in legacy mode, for now
|
2018-10-28 13:24:09 -04:00 |
|
Rich Harris
|
aa203973e0
|
add some more modifier validation tests
|
2018-10-28 12:33:21 -04:00 |
|
Rich Harris
|
769e03296f
|
merge master -> gh-1088
|
2018-10-28 11:29:08 -04:00 |
|
Rich Harris
|
945134bc81
|
warn on unused helpers - fixes #1704
|
2018-09-15 17:47:16 -04:00 |
|
Rich Harris
|
c52a6f011b
|
dont warn on empty block for nbsp - fixes #1658
|
2018-08-24 08:22:41 -04:00 |
|
Admin
|
7c4b9a5a41
|
Changes stop and prevent to stopPropagation and preventDefault
|
2018-08-11 21:16:42 -05:00 |
|