MCPcopy Index your code
hub / github.com/TruthHun/BookStack / completed

Function completed

static/jquery/1.12.4/jquery.js:3609–3619  ·  view source on GitHub ↗

* The ready event handler and self cleanup method

()

Source from the content-addressed store, hash-verified

3607 * The ready event handler and self cleanup method
3608 */
3609function completed() {
3610
3611 // readyState === "complete" is good enough for us to call the dom ready in oldIE
3612 if ( document.addEventListener ||
3613 window.event.type === "load" ||
3614 document.readyState === "complete" ) {
3615
3616 detach();
3617 jQuery.ready();
3618 }
3619}
3620
3621jQuery.ready.promise = function( obj ) {
3622 if ( !readyList ) {

Callers

nothing calls this directly

Calls 1

detachFunction · 0.85

Tested by

no test coverage detected