mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
Also check the lang in case insensitive
This commit is contained in:
parent
33e7f7384e
commit
2a9630258f
22658 changed files with 3562773 additions and 3562767 deletions
30
node_modules/lodash/_baseSample.js
generated
vendored
30
node_modules/lodash/_baseSample.js
generated
vendored
|
@ -1,15 +1,15 @@
|
|||
var arraySample = require('./_arraySample'),
|
||||
values = require('./values');
|
||||
|
||||
/**
|
||||
* The base implementation of `_.sample`.
|
||||
*
|
||||
* @private
|
||||
* @param {Array|Object} collection The collection to sample.
|
||||
* @returns {*} Returns the random element.
|
||||
*/
|
||||
function baseSample(collection) {
|
||||
return arraySample(values(collection));
|
||||
}
|
||||
|
||||
module.exports = baseSample;
|
||||
var arraySample = require('./_arraySample'),
|
||||
values = require('./values');
|
||||
|
||||
/**
|
||||
* The base implementation of `_.sample`.
|
||||
*
|
||||
* @private
|
||||
* @param {Array|Object} collection The collection to sample.
|
||||
* @returns {*} Returns the random element.
|
||||
*/
|
||||
function baseSample(collection) {
|
||||
return arraySample(values(collection));
|
||||
}
|
||||
|
||||
module.exports = baseSample;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue