You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ch7, there's a section that dives into the concept of "Sections" within your view. Cool way to use Handlebars helpers but I wanted to offer some feedback to make it a little clearer:
You should explain what options.fn() does. I had to go to the Handlebars site to find a reference to it and even then it wasn't very clear on what it actually does.
The section in the book ends without explaining where to add the _section.head & _section.jquery code. I assumed it was main.handlebars so I added it there.
There were no instructions on how to reference the new 'jquery-test.handlebars' template so I just created a simple route to call it. The book should mention something about that.
The text was updated successfully, but these errors were encountered:
Thanks for the feedback, Ray, those are all good points. I know you've got some additional PRs, which I will get to soon! I am going to leave this open because I'll use it as a reminder to make changes to the copy in the book.
In ch7, there's a section that dives into the concept of "Sections" within your view. Cool way to use Handlebars helpers but I wanted to offer some feedback to make it a little clearer:
options.fn()
does. I had to go to the Handlebars site to find a reference to it and even then it wasn't very clear on what it actually does._section.head
&_section.jquery
code. I assumed it was main.handlebars so I added it there.The text was updated successfully, but these errors were encountered: