Tag Archives: Handlebars

Accessing Handlebars variables in an outer scope – JavaScript Dev Feed

Accessing Handlebars variables in an outer scope This weekend I learned some unfamiliar behaviors with the way Handlebars handles nested variable scopes. I typically use Handlebars via the handlebars-rust implementation which aims to maintain nearly one to one compatibility with the JavaScript implementation. They have block scope helpers such as #each and #with, both of…

Read More