diff options
| author | R. Merkert | 2013-04-16 20:09:43 -0400 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-05-08 13:04:08 +0100 |
| commit | 016e1e675e717ab851759eac5be640bd2f238331 (patch) | |
| tree | b3c7f753ca2fa55efecf079dab71949811c1e46a /test/jQueryPatchSpec.js | |
| parent | 1240641f765f7bcef8c6050fd04e9c4530b9e0c2 (diff) | |
| download | angular.js-016e1e675e717ab851759eac5be640bd2f238331.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/jQueryPatchSpec.js')
0 files changed, 0 insertions, 0 deletions
