-
Notifications
You must be signed in to change notification settings - Fork 2
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
Figure out what's causing the "waiting for scriptfile" bug that people are reporting #167
Comments
here's the callstack: Uncaught TypeError: Cannot read property 'charCodeAt' of null |
might as well reopen it until it's been verified fixed... :( |
from lucas: [Error] TypeError: null is not an object (evaluating 'buffer.__srcContext.getImageData') |
This also happened in my browser after loading Clone Avoid - however, after refreshing the page, it loaded normally.
My current theory:
So there's this callback function Webbridge.runscript() on the terrylib side which loads the script file after it's been called from the javascript side. If this is called before the terrylib side has fully loaded, then nothing will happen in the terrylib side. If that's what's causing it, the answer is to have the terrylib side call a "ready" function on the javascript side, to tell it that it's ready to be asked to load script files.
The text was updated successfully, but these errors were encountered: