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