I'm just starting out with backbone and using the boilerplate ( https://github.com/tbranyen/backbone-boilerplate ). My application is divided into the 3 columns: a fixed navigation list, a list of items and a detail view. When a navigation link is clicked I load the middle column with a collection of items. The next step is to show a detail view when one of the items (a model in the collection) is clicked.
I cannot seem to get the detail view to render. I initialize the detail view in the list view and then have a pubSub setup in the detail view so that when a model is clicked I can call the detail view. However when I try to render the view I get a "Uncaught RangeError: Maximum call stack size exceeded".
Relevant code: http://pastebin.com/C88ezty7
I can't seem to see why the detail view is not able to render.
Can anyone point me in the right direction?