()
| 1067 | |
| 1068 | // The DOM ready check for Internet Explorer |
| 1069 | function doScrollCheck() { |
| 1070 | if ( jQuery.isReady ) { |
| 1071 | return; |
| 1072 | } |
| 1073 | |
| 1074 | try { |
| 1075 | // If IE is used, use the trick by Diego Perini |
| 1076 | // http://javascript.nwbox.com/IEContentLoaded/ |
| 1077 | document.documentElement.doScroll("left"); |
| 1078 | } catch(e) { |
| 1079 | setTimeout( doScrollCheck, 1 ); |
| 1080 | return; |
| 1081 | } |
| 1082 | |
| 1083 | // and execute any waiting functions |
| 1084 | jQuery.ready(); |
| 1085 | } |
| 1086 | |
| 1087 | // Expose jQuery to the global object |
| 1088 | return jQuery; |