Add _.template note for disabling the ES template literal delimiter. [ci skip]

This commit is contained in:
John-David Dalton
2016-08-29 16:19:16 -07:00
parent c309ed1c49
commit 0263a879c4

View File

@@ -14460,7 +14460,8 @@
* compiled({ 'user': 'barney' });
* // => 'hello barney!'
*
* // Use the ES delimiter as an alternative to the default "interpolate" delimiter.
* // Use the ES template literal delimiter as an "interpolate" delimiter.
* // Disable support by replacing the "interpolate" delimiter.
* var compiled = _.template('hello ${ user }!');
* compiled({ 'user': 'pebbles' });
* // => 'hello pebbles!'