-
1. Re: javascript templating conflict wiht BC.Next
Stephen_Blignault Oct 19, 2014 2:18 PM (in response to Muhammed Jenos)Hi Muhammed,
Off the cuff I would say that " {{#each root}}" is conflicting with Liquid. {{}} distinctly denotes liquid markup.
It would appear there is a conflict here. I'm not sure what this means regarding the continued use of handlebars templating engine ?
In essence, Liquid layout is now your template engine. Should you choose to use handlebars, then perhaps you cannot enable Liquid. What happens when Liquid becomes enabled by default? I don't want to go there.
That is my initial assessment.
-
2. Re: javascript templating conflict wiht BC.Next
Liam Dilley Oct 19, 2014 2:21 PM (in response to Stephen_Blignault)That is why you have the suppression tags
{%raw%}
{{each}}
{%endraw%} -
3. Re: javascript templating conflict wiht BC.Next
Stephen_Blignault Oct 19, 2014 2:23 PM (in response to Liam Dilley)Nice save Liam
-
4. Re: javascript templating conflict wiht BC.Next
Muhammed Jenos Oct 20, 2014 1:29 AM (in response to Stephen_Blignault)Thanks guys for the replies.
I use handbars at various places to show data coming from an external provider.
Liam,
Is that suppression tags handlebars syntax? Like noConflict?
regards
-
5. Re: javascript templating conflict wiht BC.Next
Muhammed Jenos Oct 20, 2014 1:30 AM (in response to Muhammed Jenos)Sorry, my bad. Those are liquid tags to supress the rendering to avoid conflicts..Excellent.
Thanks guys.
-
6. Re: javascript templating conflict wiht BC.Next
Liam Dilley Oct 20, 2014 3:23 AM (in response to Muhammed Jenos)Yup



