From 40e32daabee2fdfd542917df64bd47471ad7f2fb Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 21 Feb 2014 08:32:15 -0800 Subject: [PATCH] Fix `_.template` doc typo. [closes #484] [ci skip] --- lodash.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lodash.js b/lodash.js index 262bd9a05..06e15b11a 100644 --- a/lodash.js +++ b/lodash.js @@ -6825,10 +6825,7 @@ * // => 'hello barney!' * * // using a custom template delimiters - * _.templateSettings = { - * 'interpolate': /{{([\s\S]+?)}}/g - * }; - * + * _.templateSettings.interpolate = /{{([\s\S]+?)}}/g; * _.template('hello {{ name }}!', { 'name': 'mustache' }); * // => 'hello mustache!' *