-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
- Given that
{{ . }}
resolves as the current top of the context stack; - And when any falsey segment in a dotted name is encountered, the whole name yields
''
; - A name like
{{ .name }}
should imply{{ [current scope].name }}
; - Thus, it must resolve as truthy only if a member of the current scope matches
name
.
This is a one-liner to implement in Mustache.php, and seems completely in line with current spec, so I'm considering adding it. Can we get this into spec v1.2?
Metadata
Metadata
Assignees
Labels
No labels