mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Cleanup argument juggling comments.
Former-commit-id: e4c175791e514e7e8055f39c2156375c2da91bf2
This commit is contained in:
12
dist/lodash.compat.js
vendored
12
dist/lodash.compat.js
vendored
@@ -1456,8 +1456,8 @@
|
|||||||
function clone(value, deep, callback, thisArg, stackA, stackB) {
|
function clone(value, deep, callback, thisArg, stackA, stackB) {
|
||||||
var result = value;
|
var result = value;
|
||||||
|
|
||||||
// allows working with "Collections" methods without using their `callback`
|
// allows working with "Collections" methods without using their `index`
|
||||||
// argument, `index|key`, for this method's `callback`
|
// and `collection` arguments for `deep` and `callback`
|
||||||
if (typeof deep != 'boolean' && deep != null) {
|
if (typeof deep != 'boolean' && deep != null) {
|
||||||
thisArg = callback;
|
thisArg = callback;
|
||||||
callback = deep;
|
callback = deep;
|
||||||
@@ -1598,8 +1598,8 @@
|
|||||||
* @category Objects
|
* @category Objects
|
||||||
* @param {Object} object The destination object.
|
* @param {Object} object The destination object.
|
||||||
* @param {Object} [source1, source2, ...] The source objects.
|
* @param {Object} [source1, source2, ...] The source objects.
|
||||||
* @param- {Object} [guard] Allows working with `_.reduce` without using its
|
* @param- {Object} [guard] Allows working with `_.reduce` without using
|
||||||
* callback's `key` and `object` arguments as sources.
|
* their `key` and `object` arguments as sources.
|
||||||
* @returns {Object} Returns the destination object.
|
* @returns {Object} Returns the destination object.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
@@ -2366,8 +2366,8 @@
|
|||||||
stackA = getArray();
|
stackA = getArray();
|
||||||
stackB = getArray();
|
stackB = getArray();
|
||||||
|
|
||||||
// allows working with `_.reduce` and `_.reduceRight` without
|
// allows working with `_.reduce` and `_.reduceRight` without using
|
||||||
// using their `callback` arguments, `index|key` and `collection`
|
// their `index` and `collection` arguments
|
||||||
if (typeof deepIndicator != 'number') {
|
if (typeof deepIndicator != 'number') {
|
||||||
length = args.length;
|
length = args.length;
|
||||||
}
|
}
|
||||||
|
|||||||
12
dist/lodash.js
vendored
12
dist/lodash.js
vendored
@@ -1076,8 +1076,8 @@
|
|||||||
function clone(value, deep, callback, thisArg, stackA, stackB) {
|
function clone(value, deep, callback, thisArg, stackA, stackB) {
|
||||||
var result = value;
|
var result = value;
|
||||||
|
|
||||||
// allows working with "Collections" methods without using their `callback`
|
// allows working with "Collections" methods without using their `index`
|
||||||
// argument, `index|key`, for this method's `callback`
|
// and `collection` arguments for `deep` and `callback`
|
||||||
if (typeof deep != 'boolean' && deep != null) {
|
if (typeof deep != 'boolean' && deep != null) {
|
||||||
thisArg = callback;
|
thisArg = callback;
|
||||||
callback = deep;
|
callback = deep;
|
||||||
@@ -1218,8 +1218,8 @@
|
|||||||
* @category Objects
|
* @category Objects
|
||||||
* @param {Object} object The destination object.
|
* @param {Object} object The destination object.
|
||||||
* @param {Object} [source1, source2, ...] The source objects.
|
* @param {Object} [source1, source2, ...] The source objects.
|
||||||
* @param- {Object} [guard] Allows working with `_.reduce` without using its
|
* @param- {Object} [guard] Allows working with `_.reduce` without using
|
||||||
* callback's `key` and `object` arguments as sources.
|
* their `key` and `object` arguments as sources.
|
||||||
* @returns {Object} Returns the destination object.
|
* @returns {Object} Returns the destination object.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
@@ -2020,8 +2020,8 @@
|
|||||||
stackA = getArray();
|
stackA = getArray();
|
||||||
stackB = getArray();
|
stackB = getArray();
|
||||||
|
|
||||||
// allows working with `_.reduce` and `_.reduceRight` without
|
// allows working with `_.reduce` and `_.reduceRight` without using
|
||||||
// using their `callback` arguments, `index|key` and `collection`
|
// their `index` and `collection` arguments
|
||||||
if (typeof deepIndicator != 'number') {
|
if (typeof deepIndicator != 'number') {
|
||||||
length = args.length;
|
length = args.length;
|
||||||
}
|
}
|
||||||
|
|||||||
4
dist/lodash.underscore.js
vendored
4
dist/lodash.underscore.js
vendored
@@ -756,8 +756,8 @@
|
|||||||
* @category Objects
|
* @category Objects
|
||||||
* @param {Object} object The destination object.
|
* @param {Object} object The destination object.
|
||||||
* @param {Object} [source1, source2, ...] The source objects.
|
* @param {Object} [source1, source2, ...] The source objects.
|
||||||
* @param- {Object} [guard] Allows working with `_.reduce` without using its
|
* @param- {Object} [guard] Allows working with `_.reduce` without using
|
||||||
* callback's `key` and `object` arguments as sources.
|
* their `key` and `object` arguments as sources.
|
||||||
* @returns {Object} Returns the destination object.
|
* @returns {Object} Returns the destination object.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
|
|||||||
12
lodash.js
12
lodash.js
@@ -1475,8 +1475,8 @@
|
|||||||
function clone(value, deep, callback, thisArg, stackA, stackB) {
|
function clone(value, deep, callback, thisArg, stackA, stackB) {
|
||||||
var result = value;
|
var result = value;
|
||||||
|
|
||||||
// allows working with "Collections" methods without using their `callback`
|
// allows working with "Collections" methods without using their `index`
|
||||||
// argument, `index|key`, for this method's `callback`
|
// and `collection` arguments for `deep` and `callback`
|
||||||
if (typeof deep != 'boolean' && deep != null) {
|
if (typeof deep != 'boolean' && deep != null) {
|
||||||
thisArg = callback;
|
thisArg = callback;
|
||||||
callback = deep;
|
callback = deep;
|
||||||
@@ -1617,8 +1617,8 @@
|
|||||||
* @category Objects
|
* @category Objects
|
||||||
* @param {Object} object The destination object.
|
* @param {Object} object The destination object.
|
||||||
* @param {Object} [source1, source2, ...] The source objects.
|
* @param {Object} [source1, source2, ...] The source objects.
|
||||||
* @param- {Object} [guard] Allows working with `_.reduce` without using its
|
* @param- {Object} [guard] Allows working with `_.reduce` without using
|
||||||
* callback's `key` and `object` arguments as sources.
|
* their `key` and `object` arguments as sources.
|
||||||
* @returns {Object} Returns the destination object.
|
* @returns {Object} Returns the destination object.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
@@ -2385,8 +2385,8 @@
|
|||||||
stackA = getArray();
|
stackA = getArray();
|
||||||
stackB = getArray();
|
stackB = getArray();
|
||||||
|
|
||||||
// allows working with `_.reduce` and `_.reduceRight` without
|
// allows working with `_.reduce` and `_.reduceRight` without using
|
||||||
// using their `callback` arguments, `index|key` and `collection`
|
// their `index` and `collection` arguments
|
||||||
if (typeof deepIndicator != 'number') {
|
if (typeof deepIndicator != 'number') {
|
||||||
length = args.length;
|
length = args.length;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user