( obj )
| 1752 | widgetClass = []; |
| 1753 | |
| 1754 | function isArrayLike( obj ) { |
| 1755 | if ( !obj ) { |
| 1756 | return false; |
| 1757 | } |
| 1758 | |
| 1759 | var length = obj.length, |
| 1760 | type = $.type( obj ); |
| 1761 | |
| 1762 | if ( obj.nodeType === 1 && length ) { |
| 1763 | return true; |
| 1764 | } |
| 1765 | |
| 1766 | return type === 'array' || type !== 'function' && type !== 'string' && |
| 1767 | (length === 0 || typeof length === 'number' && length > 0 && |
| 1768 | (length - 1) in obj); |
| 1769 | } |
| 1770 | |
| 1771 | function Widget( uploader ) { |
| 1772 | this.owner = uploader; |
no outgoing calls
no test coverage detected