mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +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
36
node_modules/lodash/_stringToArray.js
generated
vendored
36
node_modules/lodash/_stringToArray.js
generated
vendored
|
@ -1,18 +1,18 @@
|
|||
var asciiToArray = require('./_asciiToArray'),
|
||||
hasUnicode = require('./_hasUnicode'),
|
||||
unicodeToArray = require('./_unicodeToArray');
|
||||
|
||||
/**
|
||||
* Converts `string` to an array.
|
||||
*
|
||||
* @private
|
||||
* @param {string} string The string to convert.
|
||||
* @returns {Array} Returns the converted array.
|
||||
*/
|
||||
function stringToArray(string) {
|
||||
return hasUnicode(string)
|
||||
? unicodeToArray(string)
|
||||
: asciiToArray(string);
|
||||
}
|
||||
|
||||
module.exports = stringToArray;
|
||||
var asciiToArray = require('./_asciiToArray'),
|
||||
hasUnicode = require('./_hasUnicode'),
|
||||
unicodeToArray = require('./_unicodeToArray');
|
||||
|
||||
/**
|
||||
* Converts `string` to an array.
|
||||
*
|
||||
* @private
|
||||
* @param {string} string The string to convert.
|
||||
* @returns {Array} Returns the converted array.
|
||||
*/
|
||||
function stringToArray(string) {
|
||||
return hasUnicode(string)
|
||||
? unicodeToArray(string)
|
||||
: asciiToArray(string);
|
||||
}
|
||||
|
||||
module.exports = stringToArray;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue