diff options
| author | Igor Minar | 2013-01-17 16:53:30 -0800 |
|---|---|---|
| committer | Igor Minar | 2013-01-17 17:49:07 -0800 |
| commit | a6b2ee785b91ce69fe265d423c18ea7a899c922d (patch) | |
| tree | f74c2f0e2fb5a349a997b433a46acc6b0f2d0512 /src/angular.suffix | |
| parent | d5a1336e6bf4316d6d130d5c9226ea4e40fb1e85 (diff) | |
| download | angular.js-a6b2ee785b91ce69fe265d423c18ea7a899c922d.tar.bz2 | |
fix(angular.equals): consistently compare undefined object props
previously:
a = {};
b = {x:undefined};
angular.equals(a, b) == angular.equals(b, a) // returns false.
both should return false because these objects are not equal.
unlike in implemented in #1695 the comparison should be stricter
and return false not true. if we need to relax this in the future
we can always do so.
Closes #1648
Diffstat (limited to 'src/angular.suffix')
0 files changed, 0 insertions, 0 deletions
