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

Bind 'this' for setInterval callback #1165

Merged
merged 2 commits into from
Oct 28, 2020

Conversation

nevalla
Copy link
Contributor

@nevalla nevalla commented Oct 28, 2020

Fixes #1164

Signed-off-by: Lauri Nevala lauri.nevala@gmail.com

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
@nevalla nevalla added bug Something isn't working area/extension Something to related to the extension api labels Oct 28, 2020
@nevalla nevalla added this to the 4.0.0 milestone Oct 28, 2020
@nevalla nevalla requested a review from a team October 28, 2020 08:19
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
@nevalla
Copy link
Contributor Author

nevalla commented Oct 28, 2020

@jakolehm refactored to use anonymous function. PTAL

@jakolehm jakolehm merged commit bc97f17 into master Oct 28, 2020
@jakolehm jakolehm deleted the fix/telemetry-setInterval-callback branch October 28, 2020 08:59
@jakolehm jakolehm mentioned this pull request Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/extension Something to related to the extension api bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: this.event is not a function
2 participants