Created
May 18, 2011 17:27
-
-
Save ryanflorence/979065 to your computer and use it in GitHub Desktop.
Mustache sucks
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
<h2>{{name}}</h2> | |
<ul> | |
{{#subItems}} | |
<li> | |
Sub Item name: {{name}} | |
Parent Item name: {{?!}} | |
parent name is inaccessible since the subItem has a name property :( | |
how is this not a common use case? | |
</li> | |
{{/subItems}} | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment