addyosmani / backbone-fundamentals

:book: A creative-commons book on Backbone.js for beginners and advanced users alike

Home Page:http://addyosmani.github.io/backbone-fundamentals/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code listing referencing in 'Understanding render()' subsection

lightonphiri opened this issue · comments

Getting started using Backbone.js---thank you for the book :)

Not sure if it's just me, but I am finding it hard to follow through the 'Understanding render()' subsection on Page 49...

At some point, you state: "...Our example will reference the following HTML markup:..."; I am assuming you are making reference to the three code listings in the subsection? However, non of them seem consistent with what you say next... e.g. "In the TodoView, I’m passing the markup from the template with id item-template to _.template() to be compiled and stored in the todoTpl property..."---non of the three listings have TodoView or todoTpl

Incidentally, would it not be easier if listings had numbers to easily reference them in text?