mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17: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
|
// exit early if the first argument is falsey
|
||||||
'if (!iterable) return result;\n' +
|
'if (!iterable) return result;\n' +
|
||||||
// add code before the iteration branches
|
// add code before the iteration branches
|
||||||
'<%= top %>;\n' +
|
'<%= top %>;' +
|
||||||
|
|
||||||
// array-like iteration:
|
// array-like iteration:
|
||||||
'<% if (arrays) { %>' +
|
'<% if (arrays) { %>\n' +
|
||||||
'var length = iterable.length; index = -1;\n' +
|
'var length = iterable.length; index = -1;\n' +
|
||||||
'if (<%= arrays %>) {' +
|
'if (<%= arrays %>) {' +
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user