From bf2a2aed66eb185aea48b7039858c681c9479465 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 18 Sep 2013 21:13:34 -0700 Subject: [PATCH] Fix typo in `_.template` docs. --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index 471127fbc..ff2f7169f 100644 --- a/lodash.js +++ b/lodash.js @@ -6076,8 +6076,8 @@ * // => 'hello mustache!' * * // using the `imports` option to import jQuery - * var list = '<% $.each(people, function(name) { %>
  • <%= name %>
  • <% }); %>'; - * _.template(list, { 'people': ['moe', 'larry'] }, { 'imports': { '$': jQuery }); + * var list = '<% $.each(people, function(name) { %>
  • <%- name %>
  • <% }); %>'; + * _.template(list, { 'people': ['moe', 'larry'] }, { 'imports': { '$': jQuery } }); * // => '
  • moe
  • larry
  • ' * * // using the `sourceURL` option to specify a custom sourceURL for the template