Closed germanfr closed 6 years ago
Huh? That is the fix for the issue? Well, i'll belive you ;)
Yes, because if you pass the function as is, it's called against the first callback argument. That means that "this" is set to another thing that is not a window. You need to call it from the window object or bind it. It's like in JavaScript.
Fixes #322