emberjs/ember.js — pull request #1798 by AlexanderZaytsev (2013-01-17 15:02:16+00:00)
Title: Add Date support for attributeBindings and bindAttr

Currently you can't pass `Date` objects to `attributeBindings` and `bindAttr`. I encountered it while working on a model that had `DS.attr('date')`.

See this fiddle for failing examples: http://jsfiddle.net/6p6XJ/349/

As a bonus, SublimeText2 automatically removed trailing whitespaces.