mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Remove extraneous spaces from non-minified builds.
Former-commit-id: ec8e18d00884cab96031c061ed32002f41edc0e5
This commit is contained in:
15
dist/lodash.compat.js
vendored
15
dist/lodash.compat.js
vendored
@@ -402,7 +402,7 @@
|
||||
* @returns {String} Returns the interpolated text.
|
||||
*/
|
||||
var iteratorTemplate = function(obj) {
|
||||
|
||||
|
||||
var __p = 'var index, iterable = ' +
|
||||
(obj.firstArg ) +
|
||||
', result = iterable;\nif (!iterable) return result;\n' +
|
||||
@@ -423,11 +423,11 @@
|
||||
(obj.loop ) +
|
||||
'\n }\n } else { ';
|
||||
} ;
|
||||
|
||||
|
||||
if (obj.hasEnumPrototype) {
|
||||
__p += '\n var skipProto = typeof iterable == \'function\';\n ';
|
||||
} ;
|
||||
|
||||
|
||||
if (obj.isKeysFast && obj.useHas) {
|
||||
__p += '\n var ownIndex = -1,\n ownProps = objectTypes[typeof iterable] ? nativeKeys(iterable) : [],\n length = ownProps.length;\n\n while (++ownIndex < length) {\n index = ownProps[ownIndex];\n ';
|
||||
if (obj.hasEnumPrototype) {
|
||||
@@ -461,7 +461,7 @@
|
||||
} ;
|
||||
__p += '\n } ';
|
||||
} ;
|
||||
|
||||
|
||||
if (obj.hasDontEnumBug) {
|
||||
__p += '\n\n var ctor = iterable.constructor;\n ';
|
||||
for (var k = 0; k < 7; k++) {
|
||||
@@ -475,17 +475,16 @@
|
||||
(obj.loop ) +
|
||||
'\n } ';
|
||||
} ;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
|
||||
if (obj.arrays || obj.nonEnumArgs) {
|
||||
__p += '\n}';
|
||||
} ;
|
||||
__p +=
|
||||
(obj.bottom ) +
|
||||
';\nreturn result';
|
||||
|
||||
|
||||
|
||||
return __p
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user