lodash: Tweak comment. [jddalton]

Former-commit-id: 309c501800ab2a6234992dafe629a6cd9f8f20ad
This commit is contained in:
John-David Dalton
2012-05-03 10:40:57 -04:00
parent 2f908870e7
commit afe7ff6d2c

View File

@@ -34,7 +34,7 @@
/**
* Used to match unescaped characters in template text
* (older Safari can't parse unicode escape sequences in a regexp literals)
* (older Safari can't parse unicode escape sequences in a RegExp literals)
*/
var reUnescaped = RegExp('\\\\|[\'\\n\\r\\t\u2028\u2029]', 'g');
@@ -2618,7 +2618,7 @@
// detokenize delimiter code snippets
text = "__p='" + text.replace(reUnescaped, escapeChar).replace(reToken, detokenize) + "';\n";
// clear stored tokens
// clear stored code snippets
tokenized.length = 0;
// if `options.variable` is not specified, add `data` to the top of the scope chain