Remove tab as a character to escape in template strings.

This commit is contained in:
John-David Dalton
2014-03-26 09:02:17 -07:00
parent c099d60393
commit 4c88f3ad64

View File

@@ -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'
};