documentcloud/backbone — pull request #1293 by wookiehangover (2012-05-08 01:49:19+00:00)
Title: Fix #1292 - unexpected results when passing undefined to Model.hasChanged

This fixes the unexpected behavior reported in #1292, when passing undefined to hasChanged()

* additional check in hashChanged for when `attr` is present but undefined
* adds tests for expected results when passing undefined