( obj )
| 3665 | |
| 3666 | // checks a cache object for emptiness |
| 3667 | function isEmptyDataObject( obj ) { |
| 3668 | var name; |
| 3669 | for ( name in obj ) { |
| 3670 | |
| 3671 | // if the public data object is empty, the private is still empty |
| 3672 | if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { |
| 3673 | continue; |
| 3674 | } |
| 3675 | if ( name !== "toJSON" ) { |
| 3676 | return false; |
| 3677 | } |
| 3678 | } |
| 3679 | |
| 3680 | return true; |
| 3681 | } |
| 3682 | |
| 3683 | function internalData( elem, name, data, pvt /* Internal Use Only */ ) { |
| 3684 | if ( !jQuery.acceptData( elem ) ) { |
no outgoing calls
no test coverage detected