(object)
| 1591 | } |
| 1592 | ts.group = group; |
| 1593 | function clone(object) { |
| 1594 | var result = {}; |
| 1595 | for (var id in object) { |
| 1596 | if (hasOwnProperty.call(object, id)) { |
| 1597 | result[id] = object[id]; |
| 1598 | } |
| 1599 | } |
| 1600 | return result; |
| 1601 | } |
| 1602 | ts.clone = clone; |
| 1603 | /** |
| 1604 | * Creates a new object by adding the own properties of `second`, then the own properties of `first`. |