From e1c8e95e11e1acddccc1505503b0196a0ef01a72 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 7 May 2013 23:31:29 -0700 Subject: [PATCH] Tweak whitespace in `iteratorTemplate`. Former-commit-id: 2f9fdbd72d316a1668d34fa95a3f1ecb325d625b --- lodash.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lodash.js b/lodash.js index 241693e9f..42973fce7 100644 --- a/lodash.js +++ b/lodash.js @@ -512,10 +512,10 @@ // exit early if the first argument is falsey 'if (!iterable) return result;\n' + // add code before the iteration branches - '<%= top %>;\n' + + '<%= top %>;' + // array-like iteration: - '<% if (arrays) { %>' + + '<% if (arrays) { %>\n' + 'var length = iterable.length; index = -1;\n' + 'if (<%= arrays %>) {' + @@ -535,7 +535,7 @@ // object iteration: // add support for iterating over `arguments` objects if needed - ' <% } else if (support.nonEnumArgs) { %>\n' + + ' <% } else if (support.nonEnumArgs) { %>\n' + ' var length = iterable.length; index = -1;\n' + ' if (length && isArguments(iterable)) {\n' + ' while (++index < length) {\n' +