MCPcopy Create free account
hub / github.com/ceph/ceph / isEmptyDataObject

Function isEmptyDataObject

qa/workunits/erasure-code/jquery.js:1833–1847  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

1831
1832// checks a cache object for emptiness
1833function 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}
1848jQuery.extend({
1849 queue: function( elem, type, data ) {
1850 var queue;

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected