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
ember.js/packages/@ember/application/lib/application.js
Lines 485 to 491 in b049c37
Without jQuery, this code no longer works and boots the app immediately (as soon as the bundle is loaded, but possibly before DOM read).
Workaround for now using an initializer:
export function initialize(app) { if (document.readyState === 'loading') { app.deferReadiness(); let callback = () => { if (document.readyState !== 'loading') { app.advanceReadiness(); document.removeEventListener('readystatechange', callback); } }; document.addEventListener('readystatechange', callback); } } export default { initialize };
We should reimplement $.ready() without relying on jQuery.
$.ready()
The text was updated successfully, but these errors were encountered:
I am a beginner at contributing and would like to work on an issue here.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
ember.js/packages/@ember/application/lib/application.js
Lines 485 to 491 in b049c37
Without jQuery, this code no longer works and boots the app immediately (as soon as the bundle is loaded, but possibly before DOM read).
Workaround for now using an initializer:
We should reimplement
$.ready()
without relying on jQuery.The text was updated successfully, but these errors were encountered: