From 59ef91ee8013e4193f56aefec972461d428c8aef Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 28 Feb 2011 11:36:14 -0500 Subject: [PATCH] making interpolate/evaluate more clear. --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 3ba293ffe..1cf3c4151 100644 --- a/index.html +++ b/index.html @@ -1111,7 +1111,9 @@ compiled({epithet: "stooge"}); If ERB-style delimiters aren't your cup of tea, you can change Underscore's template settings to use different symbols to set off interpolated code. Define an interpolate regex, and an (optional) evaluate regex - to match expressions that should be inserted and evaluated, respectively. + to match expressions that should be inserted and evaluated, respectively. + If no evaluate regex is provided, your templates will only be + capable of interpolating values. For example, to perform Mustache.js style templating: