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
My data contains the key 'if', When attempting to expand the template I'm getting: Uncaught TypeError: Cannot read property 'hash' of undefined handlebars.js:817
It appears handlebars is attempting to treat my template {{if}} like a helper.
From the way I read the documentation, to invoke the 'if' helper it should have the {{#if condition}} syntax.
This is unexpected behavior. Is there a suggested work around? Obviously I could mangle my data ahead of time, is there a way to escape the name in the template to get past the helper check?
The text was updated successfully, but these errors were encountered:
https://jsfiddle.net/tb58kjmx/2/
My data contains the key 'if', When attempting to expand the template I'm getting:
Uncaught TypeError: Cannot read property 'hash' of undefined handlebars.js:817
It appears handlebars is attempting to treat my template
{{if}}
like a helper.From the way I read the documentation, to invoke the 'if' helper it should have the
{{#if condition}}
syntax.This is unexpected behavior. Is there a suggested work around? Obviously I could mangle my data ahead of time, is there a way to escape the name in the template to get past the helper check?
The text was updated successfully, but these errors were encountered: