MCPcopy Create free account
hub / github.com/JsAaron/jQuery / completed

Function completed

2.1.1/test/jquery-1.11.1.js:3472–3478  ·  view source on GitHub ↗

* The ready event handler and self cleanup method

()

Source from the content-addressed store, hash-verified

3470 * The ready event handler and self cleanup method
3471 */
3472function completed() {
3473 // readyState === "complete" is good enough for us to call the dom ready in oldIE
3474 if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) {
3475 detach();
3476 jQuery.ready();
3477 }
3478}
3479
3480jQuery.ready.promise = function( obj ) {
3481 if ( !readyList ) {

Callers

nothing calls this directly

Calls 1

detachFunction · 0.70

Tested by

no test coverage detected