mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
19
react-app/node_modules/lodash/internal/basePropertyDeep.js
generated
vendored
Normal file
19
react-app/node_modules/lodash/internal/basePropertyDeep.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
var baseGet = require('./baseGet'),
|
||||
toPath = require('./toPath');
|
||||
|
||||
/**
|
||||
* A specialized version of `baseProperty` which supports deep paths.
|
||||
*
|
||||
* @private
|
||||
* @param {Array|string} path The path of the property to get.
|
||||
* @returns {Function} Returns the new function.
|
||||
*/
|
||||
function basePropertyDeep(path) {
|
||||
var pathKey = (path + '');
|
||||
path = toPath(path);
|
||||
return function(object) {
|
||||
return baseGet(object, path, pathKey);
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = basePropertyDeep;
|
Reference in New Issue
Block a user