()
| 892 | |
| 893 | // The DOM ready check for Internet Explorer |
| 894 | function 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 |
| 913 | return jQuery; |