Adding support for dotted names. #1

wants to merge 1 commit into from

2 participants


Now supporting dotted names.

name: Dotted Names - Basic Interpolation
desc: Dotted names should be considered a form of shorthand for sections.
data: { person: { name: 'Joe' } }
template: '"{{}}" == "{{#person}}{{name}}{{/person}}"'
expected: '"Joe" == "Joe"'

@yanick yanick referenced this pull request in pvande/Template-Mustache Mar 8, 2014

Support the dotted notation #16


alright :) thx


I also poked Pieter to see if he wants to give me co-maint of the module. One way or the other, your patch should eventually make its way to CPAN. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment