NYTimes/backbone.trackit — pull request #15 by mattbryson (2014-07-23 14:26:06+00:00)
Title: Added the ability to resetAttributes for specific attributes

I modified the resetAttributes to allow an array of attribute names to be passed in so ONLY those are reset, rather than the whole lot.

it drops the individual keys from the _unsavedAttrs array as well, so they are reverted.

I also modified it to use set(), so model updates are triggered to bound views - not sure if this causes any issues else where, but thought id open it up for discussion.

cheers

m