MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / isEmptyDataObject

Function isEmptyDataObject

Three.js/js/jquery-1.9.1.js:1873–1887  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

1871
1872// checks a cache object for emptiness
1873function isEmptyDataObject( obj ) {
1874 var name;
1875 for ( name in obj ) {
1876
1877 // if the public data object is empty, the private is still empty
1878 if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) {
1879 continue;
1880 }
1881 if ( name !== "toJSON" ) {
1882 return false;
1883 }
1884 }
1885
1886 return true;
1887}
1888jQuery.extend({
1889 queue: function( elem, type, data ) {
1890 var queue;

Callers 2

internalRemoveDataFunction · 0.85
jquery-1.9.1.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected