( obj )
| 1960 | |
| 1961 | // checks a cache object for emptiness |
| 1962 | function isEmptyDataObject( obj ) { |
| 1963 | for ( var name in obj ) { |
| 1964 | |
| 1965 | // if the public data object is empty, the private is still empty |
| 1966 | if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { |
| 1967 | continue; |
| 1968 | } |
| 1969 | if ( name !== "toJSON" ) { |
| 1970 | return false; |
| 1971 | } |
| 1972 | } |
| 1973 | |
| 1974 | return true; |
| 1975 | } |
| 1976 | |
| 1977 | |
| 1978 |
no outgoing calls
no test coverage detected
searching dependent graphs…