O'Reilly logo
  • Ricardo CastaƱeda thinks this is interesting:

this.currentDetails = new ChoseView();


Cover of Full Stack Web Development with Backbone.js


This line causes a very critic error. Where is ChoseView() defined in the book? It IS in the github repository, but not referenced here, nor in the next pages. In the next pages you'll see a screenshot showing how this code supposedly works, but no. It's very confusing and not fair to have to open github to paste not explained code.

You have to copy git views/chose.js and views/details.js, then reference the require in views/layout. https://github.com/pipefishbook/ch_4/tree/master/layout/app/views