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
70
node_modules/lodash/next.js
generated
vendored
70
node_modules/lodash/next.js
generated
vendored
|
@ -1,35 +1,35 @@
|
|||
var toArray = require('./toArray');
|
||||
|
||||
/**
|
||||
* Gets the next value on a wrapped object following the
|
||||
* [iterator protocol](https://mdn.io/iteration_protocols#iterator).
|
||||
*
|
||||
* @name next
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category Seq
|
||||
* @returns {Object} Returns the next iterator value.
|
||||
* @example
|
||||
*
|
||||
* var wrapped = _([1, 2]);
|
||||
*
|
||||
* wrapped.next();
|
||||
* // => { 'done': false, 'value': 1 }
|
||||
*
|
||||
* wrapped.next();
|
||||
* // => { 'done': false, 'value': 2 }
|
||||
*
|
||||
* wrapped.next();
|
||||
* // => { 'done': true, 'value': undefined }
|
||||
*/
|
||||
function wrapperNext() {
|
||||
if (this.__values__ === undefined) {
|
||||
this.__values__ = toArray(this.value());
|
||||
}
|
||||
var done = this.__index__ >= this.__values__.length,
|
||||
value = done ? undefined : this.__values__[this.__index__++];
|
||||
|
||||
return { 'done': done, 'value': value };
|
||||
}
|
||||
|
||||
module.exports = wrapperNext;
|
||||
var toArray = require('./toArray');
|
||||
|
||||
/**
|
||||
* Gets the next value on a wrapped object following the
|
||||
* [iterator protocol](https://mdn.io/iteration_protocols#iterator).
|
||||
*
|
||||
* @name next
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category Seq
|
||||
* @returns {Object} Returns the next iterator value.
|
||||
* @example
|
||||
*
|
||||
* var wrapped = _([1, 2]);
|
||||
*
|
||||
* wrapped.next();
|
||||
* // => { 'done': false, 'value': 1 }
|
||||
*
|
||||
* wrapped.next();
|
||||
* // => { 'done': false, 'value': 2 }
|
||||
*
|
||||
* wrapped.next();
|
||||
* // => { 'done': true, 'value': undefined }
|
||||
*/
|
||||
function wrapperNext() {
|
||||
if (this.__values__ === undefined) {
|
||||
this.__values__ = toArray(this.value());
|
||||
}
|
||||
var done = this.__index__ >= this.__values__.length,
|
||||
value = done ? undefined : this.__values__[this.__index__++];
|
||||
|
||||
return { 'done': done, 'value': value };
|
||||
}
|
||||
|
||||
module.exports = wrapperNext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue