flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
11
VISUALIZACION/node_modules/underscore/amd/partition.js
generated
vendored
Executable file
11
VISUALIZACION/node_modules/underscore/amd/partition.js
generated
vendored
Executable 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;
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue