Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change backbone views md to fix double brace error on build #19

Open
wants to merge 1 commit into
base: master
from

Conversation

@davedub
Copy link

commented Dec 27, 2017

Attempted to build to localhost using

$ gitbook serve .

Build failed with unexpected token error in markdown file due to presence of backbone double braces, not sure why. Output:

info: loading plugin "theme-default"... OK info: found 50 pages info: found 127 asset files error: error while generating page "backbone/views.md":
Template render error: (/Users/imac_home/Projects/Full-Stack-JavaScript-Engineering/backbone/views.md) [Line 22, Column 99]
unexpected token: }}

Fix was to remove these "tokens" and replace them with text in backbone/views.md file. Precise change was from this --

The handlebars templates contain html code with javascript executed in {{}} blocks. In our case we just want to display the noteBody of the model we are currently rendering.

-- to this:

The handlebars templates contain html code with javascript executed in double brace blocks. In our case we just want to display the noteBody of the model we are currently rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.