Added more complex dot notation example (from defunkt/mustache).

This commit is contained in:
Justin Hileman
2010-04-23 14:14:06 -04:00
parent d2ff6fa1ac
commit 818a07a64a
2 changed files with 15 additions and 5 deletions
+6 -1
View File
@@ -1 +1,6 @@
Grandchild is "{{foo.bar.baz}}".
* {{person.name.first}} {{person.name.last}}
* {{person.age}}
* {{person.hometown.city}}, {{person.hometown.state}}
* {{#person}}{{hometown.city}}, {{hometown.state}}{{/person}}
* {{#person}}{{#hometown}}{{city}}, {{state}}{{/hometown}}{{/person}}
* {{normal}}