MCPcopy Index your code
hub / github.com/JsAaron/jQuery / doScrollCheck

Function doScrollCheck

1.6.1/src/core.js:894–910  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

892
893// The DOM ready check for Internet Explorer
894function doScrollCheck() {
895 if ( jQuery.isReady ) {
896 return;
897 }
898
899 try {
900 // If IE is used, use the trick by Diego Perini
901 // http://javascript.nwbox.com/IEContentLoaded/
902 document.documentElement.doScroll("left");
903 } catch(e) {
904 setTimeout( doScrollCheck, 1 );
905 return;
906 }
907
908 // and execute any waiting functions
909 jQuery.ready();
910}
911
912// Expose jQuery to the global object
913return jQuery;

Callers 1

core.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected