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:
11
node_modules/underscore/amd/partition.js
generated
vendored
Normal file
11
node_modules/underscore/amd/partition.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
define(['./_group'], function (_group) {
|
||||
|
||||
// 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);
|
||||
|
||||
return partition;
|
||||
|
||||
});
|
Reference in New Issue
Block a user