Cleanup argument juggling comments.

Former-commit-id: e4c175791e514e7e8055f39c2156375c2da91bf2
This commit is contained in:
John-David Dalton
2013-07-14 09:14:34 -07:00
parent a8aaa793a0
commit 01303c1e31
4 changed files with 20 additions and 20 deletions

12
dist/lodash.compat.js vendored
View File

@@ -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
View File

@@ -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;
}

View File

@@ -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
*

View File

@@ -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;
}