mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
lodash: Tweak comment. [jddalton]
Former-commit-id: 309c501800ab2a6234992dafe629a6cd9f8f20ad
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Used to match unescaped characters in template text
|
* 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');
|
var reUnescaped = RegExp('\\\\|[\'\\n\\r\\t\u2028\u2029]', 'g');
|
||||||
|
|
||||||
@@ -2618,7 +2618,7 @@
|
|||||||
// detokenize delimiter code snippets
|
// detokenize delimiter code snippets
|
||||||
text = "__p='" + text.replace(reUnescaped, escapeChar).replace(reToken, detokenize) + "';\n";
|
text = "__p='" + text.replace(reUnescaped, escapeChar).replace(reToken, detokenize) + "';\n";
|
||||||
|
|
||||||
// clear stored tokens
|
// clear stored code snippets
|
||||||
tokenized.length = 0;
|
tokenized.length = 0;
|
||||||
|
|
||||||
// if `options.variable` is not specified, add `data` to the top of the scope chain
|
// if `options.variable` is not specified, add `data` to the top of the scope chain
|
||||||
|
|||||||
Reference in New Issue
Block a user