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(Editor): rename next() to emit() #146

Closed
wants to merge 1 commit into from
Closed

fix(Editor): rename next() to emit() #146

wants to merge 1 commit into from

Conversation

ericmartinezr
Copy link

This is a small change, but it's a fix since next() was deprecated long ago for EventEmitter, instead we should be using emit(). See angular/angular#5302.

PS : I found out about this component through twitter and by digging in the code I saw this. I hope this it's not a problem.

PS2 : Sorry if I missed some guidelines, but I didn't see any contribution guide in your repo, I hope also not being doing anything wrong.

Cheers!

@cagataycivici
Copy link
Member

Welcome, we use next for all components until now and will migrate to emit in next release. We'll do a find-replace to replace all so not merging the pr now. Thank you for the feedback.

The issue is;

#147

@ericmartinezr ericmartinezr deleted the rename-next-emit branch March 25, 2016 20:33
atretyak1985 added a commit to Nanitor/primeng that referenced this pull request Jul 18, 2020
atretyak1985 pushed a commit to Nanitor/primeng that referenced this pull request Jul 18, 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.

2 participants