MCPcopy Index your code
hub / github.com/TruthHun/BookStack / isEmptyDataObject

Function isEmptyDataObject

static/jquery/1.12.4/jquery.js:3813–3827  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

3811
3812// checks a cache object for emptiness
3813function isEmptyDataObject( obj ) {
3814 var name;
3815 for ( name in obj ) {
3816
3817 // if the public data object is empty, the private is still empty
3818 if ( name === "data" && jQuery.isEmptyObject( obj[ name ] ) ) {
3819 continue;
3820 }
3821 if ( name !== "toJSON" ) {
3822 return false;
3823 }
3824 }
3825
3826 return true;
3827}
3828
3829function internalData( elem, name, data, pvt /* Internal Use Only */ ) {
3830 if ( !acceptData( elem ) ) {

Callers 2

internalRemoveDataFunction · 0.85
jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected