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

Fixes #1, wrong context inside arrow functions. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fixes #1, wrong context inside arrow functions. #2

wants to merge 1 commit into from

Conversation

artemruts
Copy link

@artemruts artemruts commented Jan 6, 2017

Fixes #1.

According to https://nodejs.org/api/all.html#events_passing_arguments_and_this_to_listeners,
this keyword no longer references the EventEmitter instance. Now channel is used directly.

@ThomasG77
Copy link

Thanks @artemruts . I was exactly encountering the issue #1 and your code did the fix

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