Closed ido-ran closed 2 years ago
This is the simplest fix to issue #189. The problem was that this set by setTimeout is not the instance of the class that set it. Using bind we change the this to the the class instance.
this
setTimeout
bind
:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
This is the simplest fix to issue #189. The problem was that
this
set bysetTimeout
is not the instance of the class that set it. Usingbind
we change thethis
to the the class instance.