We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I always start out with the generator and I always have to fill in the onload functions
I'm guessing this would be useful to other people too
Otherwise you just get "can't add listener to null"
The text was updated successfully, but these errors were encountered:
I'm talking about https://beaufortfrancois.github.io/sandbox/web-bluetooth/generator/
Sorry, something went wrong.
What would you add exactly?
function ready(fn) { if (document.readyState != 'loading'){ fn(); } else { document.addEventListener('DOMContentLoaded', fn); } }
Based on http://youmightnotneedjquery.com/#ready
No branches or pull requests
I always start out with the generator and I always have to fill in the onload functions
I'm guessing this would be useful to other people too
Otherwise you just get "can't add listener to null"
The text was updated successfully, but these errors were encountered: