From 49519a3106abf8db6496f77f13242b31b845c4c8 Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 14 Jun 2014 22:18:11 -0400 Subject: [PATCH] typos --- src/clj_jtwig/standard_functions.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clj_jtwig/standard_functions.clj b/src/clj_jtwig/standard_functions.clj index d012c67..f1e4576 100644 --- a/src/clj_jtwig/standard_functions.clj +++ b/src/clj_jtwig/standard_functions.clj @@ -51,14 +51,14 @@ (cond (instance? java.util.List coll) (.indexOf coll value) (string? coll) (.indexOf coll (if (char? value) (int value) value)) - :else (throw (new Exception (str "'index_if' passed invalid collection type: " (type coll))))))} + :else (throw (new Exception (str "'index_of' passed invalid collection type: " (type coll))))))} "last_index_of" {:fn (fn [coll value] (cond (instance? java.util.List coll) (.lastIndexOf coll value) (string? coll) (.lastIndexOf coll (if (char? value) (int value) value)) - :else (throw (new Exception (str "'last_index_if' passed invalid collection type: " (type coll))))))} + :else (throw (new Exception (str "'last_index_of' passed invalid collection type: " (type coll))))))} "max" {:fn (fn [& numbers]