( obj )
| 949 | }); |
| 950 | |
| 951 | function isArraylike( obj ) { |
| 952 | var length = obj.length, |
| 953 | type = jQuery.type( obj ); |
| 954 | |
| 955 | if ( jQuery.isWindow( obj ) ) { |
| 956 | return false; |
| 957 | } |
| 958 | |
| 959 | if ( obj.nodeType === 1 && length ) { |
| 960 | return true; |
| 961 | } |
| 962 | |
| 963 | return type === "array" || type !== "function" && |
| 964 | ( length === 0 || |
| 965 | typeof length === "number" && length > 0 && ( length - 1 ) in obj ); |
| 966 | } |
| 967 | |
| 968 | // All jQuery objects should point back to these |
| 969 | rootjQuery = jQuery(document); |