Skip to content

Commit

Permalink
Merge pull request jashkenas#1899 from braddunbar/interpolate-values
Browse files Browse the repository at this point in the history
Update _.template docs.
  • Loading branch information
jashkenas committed Oct 22, 2014
2 parents e83655e + 03522a4 commit d761ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,7 @@ <h2 id="utility">Utility Functions</h2>
<br />
Compiles JavaScript templates into functions that can be evaluated
for rendering. Useful for rendering complicated bits of HTML from JSON
data sources. Template functions can both interpolate variables, using
data sources. Template functions can both interpolate values, using
<tt>&lt;%= &hellip; %&gt;</tt>, as well as execute arbitrary JavaScript code, with
<tt>&lt;% &hellip; %&gt;</tt>. If you wish to interpolate a value, and have
it be HTML-escaped, use <tt>&lt;%- &hellip; %&gt;</tt>. When you evaluate a
Expand Down

0 comments on commit d761ce7

Please sign in to comment.