From b44e36f6c3c5cf7f19e83ab88601b0cbb28a0cf0 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Tue, 11 Mar 2014 07:45:47 -0700 Subject: [PATCH] Invertable -> invertible here too. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e365c5e..405b478 100644 --- a/README.md +++ b/README.md @@ -420,7 +420,7 @@ Note that if a variable _is_ defined in an inner context, it shadows the same name in the outer context. There is presently no way to access the variable from the outer context. -Invertable Lambdas +Invertible Lambdas ------------------ For some applications, it may be useful for lambdas to be executed for an @@ -431,7 +431,7 @@ other languages or contexts: String template = "{{#condition}}result if true{{/condition}}\n" + "{{^condition}}result if false{{/condition}}"; Mustache.compiler().compile(template).execute(new Object() { - Mustache.InvertableLambda condition = new Mustache.InvertableLambda() { + Mustache.InvertibleLambda condition = new Mustache.InvertibleLambda() { @Override public void execute(Template.Fragment frag, Writer out) throws IOException { // this method is executed when the lambda is referenced in a normal section @@ -459,7 +459,7 @@ other languages or contexts: // if (!condition) {console.log("result if false")} Of course, you are not limited strictly to conditional substitution -- you can use an -InvertableLambda whenever you need a single function with two modes of operation. +InvertibleLambda whenever you need a single function with two modes of operation. Standards Mode --------------