nodejsinaction icon indicating copy to clipboard operation
nodejsinaction copied to clipboard

Fixes #1, wrong context inside arrow functions.

Open artemruts opened this issue 9 years ago • 1 comments

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.

artemruts avatar Jan 06 '17 02:01 artemruts

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

ThomasG77 avatar Apr 30 '17 20:04 ThomasG77