Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Init when document.readyState is interactive #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

abdavid
Copy link

@abdavid abdavid commented May 27, 2014

Ensure ui is rendered when document.readyState is interactive.

Quote From: https://developer.mozilla.org/en-US/docs/Web/API/document.readyState

"Returns "loading" while the document is loading, "interactive" once it is finished parsing but still loading sub-resources, and "complete" once it has loaded."

I stumbled upon this issue when using Offlinejs with Apache Cordova on an iOS application using RequireJS.

David A T Børresen and others added 2 commits May 27, 2014 16:46
Ensure ui is rendered when document.readyState is interactive.

Quote From: https://developer.mozilla.org/en-US/docs/Web/API/document.readyState

"Returns "loading" while the document is loading, "interactive" once it is finished parsing but still loading sub-resources, and "complete" once it has loaded."

I stumbled upon this issue when using Offlinejs with Apache Cordova on an iOS application using RequireJS.
@joker-777
Copy link

I think this PR would be very useful for us as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants