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