Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(runtime-core): fix the warning "Extraneous non-emits event listeners" shows up even when emits is set #2542

Merged
merged 4 commits into from
Nov 27, 2020

Conversation

shadowings-zy
Copy link
Contributor

@shadowings-zy shadowings-zy commented Nov 3, 2020

See #2540 , isEmitListener function will not work when using kebab-case event.
So I fix the isEmitListener function and now it works correctly.

Close #2540

…ers" shows up even when emits is set, see issue#2540
@posva posva changed the title fix(runtime-core): fix the warning "Extraneous non-emits event listeners" shows up even when emits is set, see issue#2540 fix(runtime-core): fix the warning "Extraneous non-emits event listeners" shows up even when emits is set Nov 9, 2020
@yyx990803 yyx990803 merged commit 3532b2b into vuejs:master Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warning "Extraneous non-emits event listeners" shows up even when emits is set
2 participants