From afe7ff6d2c03c0fe60da396c9faf52f2a69f3773 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 3 May 2012 10:40:57 -0400 Subject: [PATCH] lodash: Tweak comment. [jddalton] Former-commit-id: 309c501800ab2a6234992dafe629a6cd9f8f20ad --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index 0c20ae11c..d23ab6be2 100644 --- a/lodash.js +++ b/lodash.js @@ -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