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/cjs/toPath.js
generated
vendored
Normal file
11
node_modules/underscore/cjs/toPath.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
var underscore = require('./underscore.js');
|
||||
var isArray = require('./isArray.js');
|
||||
|
||||
// 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;
|
||||
|
||||
module.exports = toPath;
|
Reference in New Issue
Block a user