MCPcopy Create free account
hub / github.com/sql-js/sql.js / DOMContentLoaded

Function DOMContentLoaded

documentation/javascript/application.js:980–990  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

978
979 // The ready event handler and self cleanup method
980 DOMContentLoaded = function() {
981 if ( document.addEventListener ) {
982 document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false );
983 jQuery.ready();
984 } else if ( document.readyState === "complete" ) {
985 // we're here because readyState === "complete" in oldIE
986 // which is good enough for us to call the dom ready!
987 document.detachEvent( "onreadystatechange", DOMContentLoaded );
988 jQuery.ready();
989 }
990 },
991
992 // [[Class]] -> type pairs
993 class2type = {};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…