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

Domready run after image load complete #1608

Closed
HULIANGA opened this issue Nov 11, 2016 · 2 comments
Closed

Domready run after image load complete #1608

HULIANGA opened this issue Nov 11, 2016 · 2 comments

Comments

@HULIANGA
Copy link

i have saw the issuse #875 and https://github.com/requirejs/requirejs/issues/463。
And i have seen that requirejs use document.readyState === "complete" to sign document ready.
But why not take the solution following below,which used in jquery
image

@jrburke
Copy link
Member

jrburke commented Nov 12, 2016

requirejs itself no longer tries to detect DOM ready, there is a domReady loader plugin instead. Any changes to that behavior would occur in that repo instead of here. The use of "interactive" has some tradeoffs, mentioned in the domReady code.

Closing as this repo does not detect dom ready any more.

@jrburke jrburke closed this as completed Nov 12, 2016
@HULIANGA
Copy link
Author

thx

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

No branches or pull requests

2 participants