diff options
| author | R. Merkert | 2013-04-16 20:09:43 -0400 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-05-08 12:45:32 +0100 |
| commit | 6d0b325f7f5b9c1f3cfac9b73c6cd5fc3d1e2af0 (patch) | |
| tree | 0e4d9d260888a5f242c3d8fa18207c9cbb0de002 /test/testabilityPatch.js | |
| parent | cf4729faa3e6e0a5178e2064a6f3cfd345686554 (diff) | |
| download | angular.js-6d0b325f7f5b9c1f3cfac9b73c6cd5fc3d1e2af0.tar.bz2 | |
fix(angular): do not copy $$hashKey in copy/extend functions.
Copying the $$hashKey as part of copy/extend operations makes little
sense since hashkey is used primarily as an object id, especially in
the context of the ngRepeat directive. This change maintains the
existing $$hashKey of an object that is being copied into (likewise for
extend).
It is not uncommon to take an item in a collection, copy it,
and then append it to the collection. By copying the $$hashKey, this
leads to duplicate object errors with the current ngRepeat.
Closes #1875
Diffstat (limited to 'test/testabilityPatch.js')
0 files changed, 0 insertions, 0 deletions
