fix modelId example again

This commit is contained in:
Adam Krebs
2016-01-05 10:21:30 -05:00
committed by Graeme Yeates
parent 8ec8860473
commit b07faea900

View File

@@ -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;