MCPcopy Index your code
hub / github.com/unconed/TermKit / doScrollCheck

Function doScrollCheck

HTML/jquery.js:915–931  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

913
914// The DOM ready check for Internet Explorer
915function doScrollCheck() {
916 if ( jQuery.isReady ) {
917 return;
918 }
919
920 try {
921 // If IE is used, use the trick by Diego Perini
922 // http://javascript.nwbox.com/IEContentLoaded/
923 document.documentElement.doScroll("left");
924 } catch(e) {
925 setTimeout( doScrollCheck, 1 );
926 return;
927 }
928
929 // and execute any waiting functions
930 jQuery.ready();
931}
932
933// Expose jQuery to the global object
934return jQuery;

Callers 1

jquery.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected