mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-13 12:27:49 +00:00
Remove extraneous spaces from non-minified builds.
Former-commit-id: ec8e18d00884cab96031c061ed32002f41edc0e5
This commit is contained in:
2
build.js
2
build.js
@@ -576,6 +576,8 @@
|
||||
return source
|
||||
// remove pseudo private properties
|
||||
.replace(/(?:(?:\s*\/\/.*)*\s*lodash\._[^=]+=.+\n)+/g, '\n')
|
||||
// remove extraneous whitespace
|
||||
.replace(/^ *\n/gm, '\n')
|
||||
// remove lines with just whitespace and semicolons
|
||||
.replace(/^ *;\n/gm, '')
|
||||
// consolidate multiple newlines
|
||||
|
||||
1
dist/lodash.compat.js
vendored
1
dist/lodash.compat.js
vendored
@@ -485,7 +485,6 @@
|
||||
(obj.bottom ) +
|
||||
';\nreturn result';
|
||||
|
||||
|
||||
return __p
|
||||
};
|
||||
|
||||
|
||||
1
dist/lodash.js
vendored
1
dist/lodash.js
vendored
@@ -367,7 +367,6 @@
|
||||
(obj.bottom ) +
|
||||
';\nreturn result';
|
||||
|
||||
|
||||
return __p
|
||||
};
|
||||
|
||||
|
||||
2
dist/lodash.underscore.js
vendored
2
dist/lodash.underscore.js
vendored
@@ -4092,7 +4092,6 @@
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Invokes `interceptor` with the `value` as the first argument, and then
|
||||
* returns `value`. The purpose of this method is to "tap into" a method chain,
|
||||
@@ -4139,7 +4138,6 @@
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Produces the `toString` result of the wrapped value.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user