()
| 913 | |
| 914 | // The DOM ready check for Internet Explorer |
| 915 | function 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 |
| 934 | return jQuery; |