Skip to content

Conversation

@dannysindra
Copy link
Contributor

Fixes #234

The root cause is incorrect this context when it is invoked within the setInterval (MDN doc for reference).

Copy link
Owner

@ryanseddon ryanseddon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course arrow fn applies the right this, looks like I forgot to fn#bind the other function. Thanks!

@ryanseddon
Copy link
Owner

Im not near a laptop until sunday night so will release a new version then

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.

this.handleLoad isn't a function

2 participants