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
I'm using Handlebars(4.0.5) with express.js. Block params when used throws following error. ...ll_cities.values as |city cityId|}} -----------------------^ Expecting 'CLOSE', 'CLOSE_UNESCAPED', 'STRING', 'INTEGER', 'BOOLEAN', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'EQUALS', 'DATA', 'SEP', got 'INVALID'
Code: {{#each this.all_cities.values as |city cityId|}} City is {{city.name}} {{/each}} this.all_cities.values is an array of object.
I'm using block params to resolve name conflict when nested.
The text was updated successfully, but these errors were encountered:
I'm using Handlebars(4.0.5) with express.js. Block params when used throws following error.
...ll_cities.values as |city cityId|}} -----------------------^ Expecting 'CLOSE', 'CLOSE_UNESCAPED', 'STRING', 'INTEGER', 'BOOLEAN', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'EQUALS', 'DATA', 'SEP', got 'INVALID'
Code:
{{#each this.all_cities.values as |city cityId|}} City is {{city.name}} {{/each}}
this.all_cities.values
is an array of object.I'm using block params to resolve name conflict when nested.
The text was updated successfully, but these errors were encountered: