recipeswithbackbone / recipeswithbackbone.github.com

Marketing site for the best damn backbone.js book evar
23 stars 1 forks source link

Ambiguous reference #49

Open joeellis opened 12 years ago

joeellis commented 12 years ago

On page 65, you write:

You may be asking yourself, "why is it OK to render during initialization?"

I cannot for the life of me understand what you are referring to exactly? Is the code snippet above missing a render call in the initialize function, or am I missing something?

eee-c commented 12 years ago

Hrm... Will have a look.

eee-c commented 12 years ago

Ah, this refers to $(this.el).html(this.template()); which seems to render. In normal jQuery, html() would change something on the page.

But agreed, there is definitely potential for confusion, so I'll try to rework.