Skip to content

Commit

Permalink
Merge pull request jashkenas#1281 from davidchambers/template-example
Browse files Browse the repository at this point in the history
fix _.template example output
  • Loading branch information
braddunbar committed Sep 4, 2013
2 parents 8778df3 + bd64710 commit 66282d0
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 @@ -1635,7 +1635,7 @@ <h2 id="utility">Utility Functions</h2>
<pre>
var compiled = _.template("&lt;% print('Hello ' + epithet); %&gt;");
compiled({epithet: "stooge"});
=&gt; "Hello stooge."</pre>
=&gt; "Hello stooge"</pre>

<p>
If ERB-style delimiters aren't your cup of tea, you can change Underscore's
Expand Down

0 comments on commit 66282d0

Please sign in to comment.