Update vendor/backbone.

Former-commit-id: dc1a37f3c44eecc1fcd1cba2018d70e8c337d6f3
This commit is contained in:
John-David Dalton
2012-11-04 14:40:23 -08:00
parent 218e3b66f2
commit 6c8e19a321
5 changed files with 72 additions and 22 deletions

View File

@@ -889,4 +889,12 @@ $(document).ready(function() {
deepEqual(changes, ['a',1,'item']);
});
test("#1791 - `attributes` is available for `parse`", function() {
var Model = Backbone.Model.extend({
parse: function() { this.has('a'); } // shouldn't throw an error
});
var model = new Model(null, {parse: true});
expect(0);
});
});