( obj )
| 313 | // property to be considered empty objects; this property always exists in |
| 314 | // order to make sure JSON.stringify does not expose internal metadata |
| 315 | function isEmptyDataObject( obj ) { |
| 316 | for ( var name in obj ) { |
| 317 | if ( name !== "toJSON" ) { |
| 318 | return false; |
| 319 | } |
| 320 | } |
| 321 | |
| 322 | return true; |
| 323 | } |
| 324 | |
| 325 | })( jQuery ); |