(obj)
| 851 | }); |
| 852 | |
| 853 | function isArraylike(obj) { |
| 854 | var length = obj.length, |
| 855 | type = jQuery.type(obj); |
| 856 | |
| 857 | if (jQuery.isWindow(obj)) { |
| 858 | return false; |
| 859 | } |
| 860 | |
| 861 | if (obj.nodeType === 1 && length) { |
| 862 | return true; |
| 863 | } |
| 864 | |
| 865 | return type === "array" || type !== "function" && |
| 866 | (length === 0 || |
| 867 | typeof length === "number" && length > 0 && (length - 1) in obj); |
| 868 | } |
| 869 | |
| 870 | // All jQuery objects should point back to these |
| 871 | rootjQuery = jQuery(document); |