()
| 961 | |
| 962 | // The DOM ready check for Internet Explorer |
| 963 | function doScrollCheck() { |
| 964 | if ( jQuery.isReady ) { |
| 965 | return; |
| 966 | } |
| 967 | |
| 968 | try { |
| 969 | // If IE is used, use the trick by Diego Perini |
| 970 | // http://javascript.nwbox.com/IEContentLoaded/ |
| 971 | document.documentElement.doScroll("left"); |
| 972 | } catch(e) { |
| 973 | setTimeout( doScrollCheck, 1 ); |
| 974 | return; |
| 975 | } |
| 976 | |
| 977 | // and execute any waiting functions |
| 978 | jQuery.ready(); |
| 979 | } |
| 980 | |
| 981 | return jQuery; |
| 982 |