Skip to content
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

Trigger page load listeners when complete or no longer loading #21

Closed
wants to merge 2 commits into from

Conversation

ihor-sviziev
Copy link

@ihor-sviziev ihor-sviziev commented Jul 30, 2020

RequireJS domReady is used in Magento 2, and it was causing following issue magento/magento2#22909, so in Magento there was added local fix on top of this library magento/magento2#23313.

I'd like to submit a fix for this issue to the library itself in order to have ability just update it to latest version and resolve the issue for everyone.

After checking alternatives I found that jQuery has compatible with older IE versions solution, so I think it's better to apply it.

This is port from jQuery jquery/jquery@8c293e6 that supports old IE versions.

Fixes #18.
Related to #1

Port changes from jQuery
Related to requirejs#1 requirejs#18
@jsf-clabot
Copy link

jsf-clabot commented Jul 30, 2020

CLA assistant check
All committers have signed the CLA.

@ihor-sviziev ihor-sviziev changed the title Fix long delay Trigger page load listeners when complete or no longer loading Jul 30, 2020
@ihor-sviziev
Copy link
Author

@jrburke could you review my PR?

@jrburke
Copy link
Member

jrburke commented Sep 1, 2020

Thank you for taking time to make a pull request, and I apologize for not responding earlier. This seems to be different than the latest master of jQuery: https://github.com/jquery/jquery/blob/master/src/core/ready.js#L64. That said, I'm not really set up to track fixes for IE6-10 issues, and I have not really maintained this repo over the last couple of years. Will close, mostly due to my own lack of maintaining the repo.

@jrburke jrburke closed this Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check for document.readyState === "interactive"
3 participants