mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-22 21:38:00 -05:00
Merge branch 'master' of github.com:documentcloud/backbone
This commit is contained in:
@@ -522,4 +522,10 @@ $(document).ready(function() {
|
||||
raises(function() { col.add([{id: 1}, {id: 1}]); });
|
||||
});
|
||||
|
||||
test("#964 - collection.get return in consistent", function() {
|
||||
var c = new Backbone.Collection();
|
||||
ok(c.get(null) === undefined);
|
||||
ok(c.get() === undefined);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user