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

Function detach

static/jquery/1.12.4/jquery.js:3595–3604  ·  view source on GitHub ↗

* Clean-up method for dom ready events

()

Source from the content-addressed store, hash-verified

3593 * Clean-up method for dom ready events
3594 */
3595function detach() {
3596 if ( document.addEventListener ) {
3597 document.removeEventListener( "DOMContentLoaded", completed );
3598 window.removeEventListener( "load", completed );
3599
3600 } else {
3601 document.detachEvent( "onreadystatechange", completed );
3602 window.detachEvent( "onload", completed );
3603 }
3604}
3605
3606/**
3607 * The ready event handler and self cleanup method

Callers 2

completedFunction · 0.85
jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected