documentcloud/backbone — pull request #842 by braddunbar (2012-01-06 14:25:58+00:00)
Title: hasChanged/set should use the same comparison

When setting a value, if hasChanged and set disagree about equality then hasChanged will return true without firing a 'changed:*' event (or vice versa). Using the same comparison (_.isEqual) solves this problem.