Added the underscore node_module.
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 39s
All checks were successful
Auto Maintenance Cycle / pre-commit Autoupdate (push) Successful in 39s
This commit is contained in:
9
node_modules/underscore/cjs/partition.js
generated
vendored
Normal file
9
node_modules/underscore/cjs/partition.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
var _group = require('./_group.js');
|
||||
|
||||
// Split a collection into two arrays: one whose elements all pass the given
|
||||
// truth test, and one whose elements all do not pass the truth test.
|
||||
var partition = _group(function(result, value, pass) {
|
||||
result[pass ? 0 : 1].push(value);
|
||||
}, true);
|
||||
|
||||
module.exports = partition;
|
Reference in New Issue
Block a user