mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Bump to v0.3.0.
Former-commit-id: 2b713b3d926e3dbba80eab6e1e14d080f169bf39
This commit is contained in:
4
build.js
4
build.js
@@ -385,7 +385,7 @@
|
||||
return;
|
||||
}
|
||||
if (filterType == 'exclude') {
|
||||
// remove the specified functions and their dependants
|
||||
// remove methods that are named in `filterMethods` and their dependants
|
||||
filterMethods.forEach(function(funcName) {
|
||||
getDependants(funcName).concat(funcName).forEach(function(otherName) {
|
||||
source = removeFunction(source, otherName);
|
||||
@@ -399,7 +399,7 @@
|
||||
return result;
|
||||
}, []));
|
||||
|
||||
// remove methods not included in `filterMethods`
|
||||
// remove methods that aren't named in `filterMethods`
|
||||
lodash.each(dependencyMap, function(dependencies, otherName) {
|
||||
if (filterMethods.indexOf(otherName) < 0) {
|
||||
source = removeFunction(source, otherName);
|
||||
|
||||
Reference in New Issue
Block a user