mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
merging maw's doc patch.
This commit is contained in:
@@ -1103,9 +1103,9 @@ _.template(list, {people : ['moe', 'curly', 'larry']});
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
var compiled = _.template("<% print('Hello ' + epithet); %>");
|
var compiled = _.template("<% print('Hello ' + epithet); %>");
|
||||||
compiled({epithet: "dude"});
|
compiled({epithet: "stooge"});
|
||||||
=> "Hello dude."</pre>
|
=> "Hello stooge."</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
If ERB-style delimiters aren't your cup of tea, you can change Underscore's
|
If ERB-style delimiters aren't your cup of tea, you can change Underscore's
|
||||||
|
|||||||
Reference in New Issue
Block a user