MCPcopy
hub / github.com/nbubna/store / isEmptyDataObject

Function isEmptyDataObject

libs/jquery/jquery.js:1843–1857  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

1841
1842// checks a cache object for emptiness
1843function isEmptyDataObject( obj ) {
1844 var name;
1845 for ( name in obj ) {
1846
1847 // if the public data object is empty, the private is still empty
1848 if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) {
1849 continue;
1850 }
1851 if ( name !== "toJSON" ) {
1852 return false;
1853 }
1854 }
1855
1856 return true;
1857}
1858jQuery.extend({
1859 queue: function( elem, type, data ) {
1860 var queue;

Callers 2

internalRemoveDataFunction · 0.85
jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…