Skip to content

../myVar should reference the rootContext #48

@mschipperheyn

Description

@mschipperheyn

The .combine(someContext) allows me access to some global scoped variables. However, in order to maintain compatibility with my Javascript version, I need to be able use Handlebars Paths to be able to reference the root scope.

The Handlebars documentation references Paths as a way to reference the root scope (it's not entirely clear if it should be parent or root scope, but root scope would make the most sense).

Right now using {{../myVar}} throws an error. It should either display the variable or nothing from within a partial.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions