| 939 | |
| 940 | // The DOM ready check for Internet Explorer |
| 941 | function doScrollCheck() { |
| 942 | if ( jQuery.isReady ) { |
| 943 | return; |
| 944 | } |
| 945 | |
| 946 | try { |
| 947 | // If IE is used, use the trick by Diego Perini |
| 948 | // http://javascript.nwbox.com/IEContentLoaded/ |
| 949 | document.documentElement.doScroll("left"); |
| 950 | } catch(e) { |
| 951 | setTimeout( doScrollCheck, 1 ); |
| 952 | return; |
| 953 | } |
| 954 | |
| 955 | // and execute any waiting functions |
| 956 | jQuery.ready(); |
| 957 | } |
| 958 | |
| 959 | // Expose jQuery as an AMD module, but only for AMD loaders that |
| 960 | // understand the issues with loading multiple versions of jQuery |