-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Anchor dot notation context: {{ .foo }}
1. Given that {{ . }} resolves as the top of the context stack; 2. And when any falsey segment in a dotted name is encountered, the whole name yields ''; 3. A name like {{ .name }} should imply {{ [top of stack].name }}; 4. Thus, it must resolve as truthy only if a member of the top of the context stack matches name. See mustache/spec#52
- Loading branch information
Showing
2 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters