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:
12
node_modules/underscore/amd/toPath.js
generated
vendored
Normal file
12
node_modules/underscore/amd/toPath.js
generated
vendored
Normal 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;
|
||||
|
||||
});
|
Reference in New Issue
Block a user