dominictarr / adiff

diff and patch operations on arrays.
Other
56 stars 9 forks source link

Use deep equality check in optimisticDiff #6

Open devongovett opened 9 years ago

dominictarr commented 9 years ago

can you please describe why you want this change? why do you need this? what does it allow you to do, or what problem does it avoid?

devongovett commented 9 years ago

If your arrays contain objects rather than literals like strings or numbers, normal equality checks do not work correctly.