From 4c88f3ad64e1ca2b224ddfe85d3cfc2b52b02830 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 26 Mar 2014 09:02:17 -0700 Subject: [PATCH] Remove tab as a character to escape in template strings. --- lodash.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index 9ad3e6339..9058b44a4 100644 --- a/lodash.js +++ b/lodash.js @@ -75,7 +75,7 @@ var reThis = /\bthis\b/; /** Used to match unescaped characters in compiled string literals */ - var reUnescapedString = /['\n\r\t\u2028\u2029\\]/g; + var reUnescapedString = /['\n\r\u2028\u2029\\]/g; /** Used to match words to create compound words */ var reWords = /[A-Z]{2,}|[a-zA-Z0-9][a-z0-9]*/g; @@ -206,7 +206,6 @@ "'": "'", '\n': 'n', '\r': 'r', - '\t': 't', '\u2028': 'u2028', '\u2029': 'u2029' };