Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ getReadyState
Function
getReadyState
third_party/subscriptions-project/config.js:37–39 ·
view source on GitHub ↗
* @param {!Document} doc * @return {string}
(doc)
Source
from the content-addressed store, hash-verified
35
* @
return
{string}
36
*/
37
function
getReadyState(doc) {
38
return
/** @
type
{string} */ (doc[
'readyState'
]);
39
}
40
41
/**
42
* Whether the document is ready.
Callers
1
isDocumentReady
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected