flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
12
VISUALIZACION/node_modules/underscore/amd/toPath.js
generated
vendored
Executable file
12
VISUALIZACION/node_modules/underscore/amd/toPath.js
generated
vendored
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
define(['./underscore', './isArray'], function (underscore, isArray) {
|
||||
|
||||
// Normalize a (deep) property `path` to array.
|
||||
// Like `_.iteratee`, this function can be customized.
|
||||
function toPath(path) {
|
||||
return isArray(path) ? path : [path];
|
||||
}
|
||||
underscore.toPath = toPath;
|
||||
|
||||
return toPath;
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue