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
this is undefined error in last releases #43
Comments
Could you send over your code in a little demo plz, looking to debug. |
compile this with webpack and you get the undefined error on "this.destroy"
leads to another "Uncaught TypeError: n is null" errorin browser.js:1:9861 pushed my demo code also to this repo: https://github.com/revoltek-daniel/cursor-test |
Ahh, it looks like in test 2 the function needs to be in a window.onload (or in the body) to run after the body exists, I should be able to make a fix for that where there is some kind of wait/check As for 1, im not quite sure why it won't allow an assignment to |
(the import bug is now fixed), using an onLoad, or calling the create after the body is rendered will fix the rendering for now, until I do something better there. |
Feels like the main bug is covered. I will add some documentation to ensure that the function is called when a body exists if its working correctly for you |
Fixes out, and docs updated |
Hello,
since 1.0.5 i get the error message "this is undefined" it looks like it is caused by this commit
c4b4aef
The text was updated successfully, but these errors were encountered: