From 134a22bcfd8c0763e93f89edfe677c1977d74f41 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 21 Oct 2010 21:28:06 +0000 Subject: [PATCH] Added support for "this" variable which refers to the context itself rather than a member of the context. --- .../java/com/samskivert/mustache/Template.java | 14 ++++++++++++++ .../java/com/samskivert/mustache/MustacheTest.java | 9 +++++++++ 2 files changed, 23 insertions(+) diff --git a/src/main/java/com/samskivert/mustache/Template.java b/src/main/java/com/samskivert/mustache/Template.java index a006fba..14e142a 100644 --- a/src/main/java/com/samskivert/mustache/Template.java +++ b/src/main/java/com/samskivert/mustache/Template.java @@ -20,6 +20,8 @@ import java.util.concurrent.ConcurrentHashMap; * Given a name {@code foo}, the following mechanisms are supported for resolving its value * (and are sought in this order): *