MCPcopy Create free account
hub / github.com/unconed/TermKit / doScrollCheck

Function doScrollCheck

HTML/external/jquery-ui/development-bundle/jquery-1.5.1.js:1069–1085  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1067
1068// The DOM ready check for Internet Explorer
1069function doScrollCheck() {
1070 if ( jQuery.isReady ) {
1071 return;
1072 }
1073
1074 try {
1075 // If IE is used, use the trick by Diego Perini
1076 // http://javascript.nwbox.com/IEContentLoaded/
1077 document.documentElement.doScroll("left");
1078 } catch(e) {
1079 setTimeout( doScrollCheck, 1 );
1080 return;
1081 }
1082
1083 // and execute any waiting functions
1084 jQuery.ready();
1085}
1086
1087// Expose jQuery to the global object
1088return jQuery;

Callers 1

jquery-1.5.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected