| 918 | |
| 919 | // The DOM ready check for Internet Explorer |
| 920 | function doScrollCheck() { |
| 921 | if ( jQuery.isReady ) { |
| 922 | return; |
| 923 | } |
| 924 | |
| 925 | try { |
| 926 | // If IE is used, use the trick by Diego Perini |
| 927 | // http://javascript.nwbox.com/IEContentLoaded/ |
| 928 | document.documentElement.doScroll("left"); |
| 929 | } catch(e) { |
| 930 | setTimeout( doScrollCheck, 1 ); |
| 931 | return; |
| 932 | } |
| 933 | |
| 934 | // and execute any waiting functions |
| 935 | jQuery.ready(); |
| 936 | } |
| 937 | |
| 938 | // Expose jQuery as an AMD module, but only for AMD loaders that |
| 939 | // understand the issues with loading multiple versions of jQuery |