mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
fix modelId example again
This commit is contained in:
committed by
Graeme Yeates
parent
8ec8860473
commit
b07faea900
@@ -1800,8 +1800,8 @@ var Library = Backbone.Collection.extend({
|
||||
});
|
||||
|
||||
var library = new Library([
|
||||
{type: 'dvd', id: 1},
|
||||
{type: 'vhs', id: 1}
|
||||
{type: 'dvd', dvd_id: 1},
|
||||
{type: 'vhs', dvd_id: 1}
|
||||
]);
|
||||
|
||||
var dvdId = library.get('dvd1').id;
|
||||
|
||||
Reference in New Issue
Block a user