From 9d8754b13064015871d6de8d0269b7026e8343a1 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Wed, 13 Apr 2011 14:55:25 -0700 Subject: [PATCH] Fixed {{.}} doc typo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 668385f..2edb2ad 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,7 @@ lists. Note that you can also use the special variable `.` to mean the same thing. Mustache.compiler().compile("{{.}}").execute("hello"); // returns: hello - Mustache.compiler().compile("{{#names}}{{this}}{/names}}").execute(new Object() { + Mustache.compiler().compile("{{#names}}{{.}}{/names}}").execute(new Object() { List names () { return Arrays.asList("Tom", "Dick", "Harry"); } }); // result: TomDickHarry