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 am not sure if this is supported by the handlebars spec or it is achievable in a different way. I am trying to access a variable passed in as a template's hash parameter within an #each block contained by the template. I can access the variable outside of the #each block but cannot seem to find a way to access it within the #each block.
thread 'main' panicked at 'assertion failed: `(left == right)`
left: `"carrot,tomato,"`,
right: `"fruit:carrot,fruit:tomato"`', src/main.rs:20:3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Should this be possible? Am I missing something?
The text was updated successfully, but these errors were encountered:
I am not sure if this is supported by the handlebars spec or it is achievable in a different way. I am trying to access a variable passed in as a template's hash parameter within an #each block contained by the template. I can access the variable outside of the #each block but cannot seem to find a way to access it within the #each block.
The following code:
fails with:
Should this be possible? Am I missing something?
The text was updated successfully, but these errors were encountered: