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:
21
react-app/node_modules/lodash/internal/getMatchData.js
generated
vendored
Normal file
21
react-app/node_modules/lodash/internal/getMatchData.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
var isStrictComparable = require('./isStrictComparable'),
|
||||
pairs = require('../object/pairs');
|
||||
|
||||
/**
|
||||
* Gets the propery names, values, and compare flags of `object`.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} object The object to query.
|
||||
* @returns {Array} Returns the match data of `object`.
|
||||
*/
|
||||
function getMatchData(object) {
|
||||
var result = pairs(object),
|
||||
length = result.length;
|
||||
|
||||
while (length--) {
|
||||
result[length][2] = isStrictComparable(result[length][1]);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = getMatchData;
|
Reference in New Issue
Block a user