MCPcopy Create free account
hub / github.com/F-Stack/f-stack / doScrollCheck

Function doScrollCheck

tools/libxo/xohtml/external/jquery.js:941–957  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

939
940// The DOM ready check for Internet Explorer
941function doScrollCheck() {
942 if ( jQuery.isReady ) {
943 return;
944 }
945
946 try {
947 // If IE is used, use the trick by Diego Perini
948 // http://javascript.nwbox.com/IEContentLoaded/
949 document.documentElement.doScroll("left");
950 } catch(e) {
951 setTimeout( doScrollCheck, 1 );
952 return;
953 }
954
955 // and execute any waiting functions
956 jQuery.ready();
957}
958
959// Expose jQuery as an AMD module, but only for AMD loaders that
960// understand the issues with loading multiple versions of jQuery

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected