mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Fix _.template doc typo. [closes #484] [ci skip]
This commit is contained in:
@@ -6825,10 +6825,7 @@
|
|||||||
* // => 'hello barney!'
|
* // => 'hello barney!'
|
||||||
*
|
*
|
||||||
* // using a custom template delimiters
|
* // using a custom template delimiters
|
||||||
* _.templateSettings = {
|
* _.templateSettings.interpolate = /{{([\s\S]+?)}}/g;
|
||||||
* 'interpolate': /{{([\s\S]+?)}}/g
|
|
||||||
* };
|
|
||||||
*
|
|
||||||
* _.template('hello {{ name }}!', { 'name': 'mustache' });
|
* _.template('hello {{ name }}!', { 'name': 'mustache' });
|
||||||
* // => 'hello mustache!'
|
* // => 'hello mustache!'
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user