( obj )
| 1831 | |
| 1832 | // checks a cache object for emptiness |
| 1833 | function isEmptyDataObject( obj ) { |
| 1834 | var name; |
| 1835 | for ( name in obj ) { |
| 1836 | |
| 1837 | // if the public data object is empty, the private is still empty |
| 1838 | if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { |
| 1839 | continue; |
| 1840 | } |
| 1841 | if ( name !== "toJSON" ) { |
| 1842 | return false; |
| 1843 | } |
| 1844 | } |
| 1845 | |
| 1846 | return true; |
| 1847 | } |
| 1848 | jQuery.extend({ |
| 1849 | queue: function( elem, type, data ) { |
| 1850 | var queue; |