( obj )
| 1691 | // property to be considered empty objects; this property always exists in |
| 1692 | // order to make sure JSON.stringify does not expose internal metadata |
| 1693 | function isEmptyDataObject( obj ) { |
| 1694 | for ( var name in obj ) { |
| 1695 | if ( name !== "toJSON" ) { |
| 1696 | return false; |
| 1697 | } |
| 1698 | } |
| 1699 | |
| 1700 | return true; |
| 1701 | } |
| 1702 | |
| 1703 | |
| 1704 |