fix(angular.equals): do not match keys defined in the prototype chain
Merely testing for object[key] will give incorrect results on keys defined in Object.prototype. Note: IE8 is generally broken in this regard since `for...in` never returns certain property keys even if they are defined directly on the object. See #2141 - partially merges this PR
D
Daniel Luz committed
7829c50f9e89e779980f6d60a397aedfc7eaec61
Parent: d88dc4a
Committed by Pete Bacon Darwin <pete@bacondarwin.com>
on 7/8/2013, 10:05:08 AM