mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Tweak whitespace in iteratorTemplate.
Former-commit-id: 2f9fdbd72d316a1668d34fa95a3f1ecb325d625b
This commit is contained in:
@@ -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' +
|
||||
|
||||
Reference in New Issue
Block a user