recipeswithbackbone/recipeswithbackbone.github.com — Issue #39: Page 62: Code Typo
Author: simax
Created: 2011-12-30 15:11:48+00:00
State: open

The second code snippet on page 62 displays the MonthCounts collection. The first property it sets is the tagName, surely tagName is a UI concern (a views concern) and should not be present in the MonthCounts collection.

Collections.MonthCounts = Backbone.Collection.extend({
tagName: 'ul',
model: Models.MonthCount,
initialize: function(models, options) { ...