From eba793d31ea2feedfeded6daad480a9b891027e5 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 2 Mar 2014 13:02:04 -0500 Subject: [PATCH] update doc comment for render function to indicate it doesn't use caching --- src/clj_jtwig/core.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clj_jtwig/core.clj b/src/clj_jtwig/core.clj index d2a9fa8..948f35c 100644 --- a/src/clj_jtwig/core.clj +++ b/src/clj_jtwig/core.clj @@ -98,7 +98,8 @@ (defn render "renders a template contained in the provided string, using the values in model-map - as the model for the template." + as the model for the template. templates rendered using this function are always + parsed, compiled and rendered. the compiled results are never cached." [s model-map & [options]] (let [compiled-template (compile-template-string s)] (render-compiled-template compiled-template model-map options)))