mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 20:07:49 +00:00
Add missing backticks in the docs. [ci skip]
Former-commit-id: 77e7f0275b820e02d52dea90181fc48ae0f650fe
This commit is contained in:
4
dist/lodash.compat.js
vendored
4
dist/lodash.compat.js
vendored
@@ -3427,7 +3427,7 @@
|
|||||||
/**
|
/**
|
||||||
* Flattens a nested array (the nesting can be to any depth). If `isShallow`
|
* Flattens a nested array (the nesting can be to any depth). If `isShallow`
|
||||||
* is truthy, `array` will only be flattened a single level. If `callback`
|
* is truthy, `array` will only be flattened a single level. If `callback`
|
||||||
* is passed, each element of `array` is passed through a callback` before
|
* is passed, each element of `array` is passed through a `callback` before
|
||||||
* flattening. The `callback` is bound to `thisArg` and invoked with three
|
* flattening. The `callback` is bound to `thisArg` and invoked with three
|
||||||
* arguments; (value, index, array).
|
* arguments; (value, index, array).
|
||||||
*
|
*
|
||||||
@@ -3986,7 +3986,7 @@
|
|||||||
* Creates a duplicate-value-free version of the `array` using strict equality
|
* Creates a duplicate-value-free version of the `array` using strict equality
|
||||||
* for comparisons, i.e. `===`. If the `array` is already sorted, passing `true`
|
* for comparisons, i.e. `===`. If the `array` is already sorted, passing `true`
|
||||||
* for `isSorted` will run a faster algorithm. If `callback` is passed, each
|
* for `isSorted` will run a faster algorithm. If `callback` is passed, each
|
||||||
* element of `array` is passed through a callback` before uniqueness is computed.
|
* element of `array` is passed through a `callback` before uniqueness is computed.
|
||||||
* The `callback` is bound to `thisArg` and invoked with three arguments; (value, index, array).
|
* The `callback` is bound to `thisArg` and invoked with three arguments; (value, index, array).
|
||||||
*
|
*
|
||||||
* If a property name is passed for `callback`, the created "_.pluck" style
|
* If a property name is passed for `callback`, the created "_.pluck" style
|
||||||
|
|||||||
4
dist/lodash.js
vendored
4
dist/lodash.js
vendored
@@ -3169,7 +3169,7 @@
|
|||||||
/**
|
/**
|
||||||
* Flattens a nested array (the nesting can be to any depth). If `isShallow`
|
* Flattens a nested array (the nesting can be to any depth). If `isShallow`
|
||||||
* is truthy, `array` will only be flattened a single level. If `callback`
|
* is truthy, `array` will only be flattened a single level. If `callback`
|
||||||
* is passed, each element of `array` is passed through a callback` before
|
* is passed, each element of `array` is passed through a `callback` before
|
||||||
* flattening. The `callback` is bound to `thisArg` and invoked with three
|
* flattening. The `callback` is bound to `thisArg` and invoked with three
|
||||||
* arguments; (value, index, array).
|
* arguments; (value, index, array).
|
||||||
*
|
*
|
||||||
@@ -3728,7 +3728,7 @@
|
|||||||
* Creates a duplicate-value-free version of the `array` using strict equality
|
* Creates a duplicate-value-free version of the `array` using strict equality
|
||||||
* for comparisons, i.e. `===`. If the `array` is already sorted, passing `true`
|
* for comparisons, i.e. `===`. If the `array` is already sorted, passing `true`
|
||||||
* for `isSorted` will run a faster algorithm. If `callback` is passed, each
|
* for `isSorted` will run a faster algorithm. If `callback` is passed, each
|
||||||
* element of `array` is passed through a callback` before uniqueness is computed.
|
* element of `array` is passed through a `callback` before uniqueness is computed.
|
||||||
* The `callback` is bound to `thisArg` and invoked with three arguments; (value, index, array).
|
* The `callback` is bound to `thisArg` and invoked with three arguments; (value, index, array).
|
||||||
*
|
*
|
||||||
* If a property name is passed for `callback`, the created "_.pluck" style
|
* If a property name is passed for `callback`, the created "_.pluck" style
|
||||||
|
|||||||
4
dist/lodash.underscore.js
vendored
4
dist/lodash.underscore.js
vendored
@@ -2552,7 +2552,7 @@
|
|||||||
/**
|
/**
|
||||||
* Flattens a nested array (the nesting can be to any depth). If `isShallow`
|
* Flattens a nested array (the nesting can be to any depth). If `isShallow`
|
||||||
* is truthy, `array` will only be flattened a single level. If `callback`
|
* is truthy, `array` will only be flattened a single level. If `callback`
|
||||||
* is passed, each element of `array` is passed through a callback` before
|
* is passed, each element of `array` is passed through a `callback` before
|
||||||
* flattening. The `callback` is bound to `thisArg` and invoked with three
|
* flattening. The `callback` is bound to `thisArg` and invoked with three
|
||||||
* arguments; (value, index, array).
|
* arguments; (value, index, array).
|
||||||
*
|
*
|
||||||
@@ -3086,7 +3086,7 @@
|
|||||||
* Creates a duplicate-value-free version of the `array` using strict equality
|
* Creates a duplicate-value-free version of the `array` using strict equality
|
||||||
* for comparisons, i.e. `===`. If the `array` is already sorted, passing `true`
|
* for comparisons, i.e. `===`. If the `array` is already sorted, passing `true`
|
||||||
* for `isSorted` will run a faster algorithm. If `callback` is passed, each
|
* for `isSorted` will run a faster algorithm. If `callback` is passed, each
|
||||||
* element of `array` is passed through a callback` before uniqueness is computed.
|
* element of `array` is passed through a `callback` before uniqueness is computed.
|
||||||
* The `callback` is bound to `thisArg` and invoked with three arguments; (value, index, array).
|
* The `callback` is bound to `thisArg` and invoked with three arguments; (value, index, array).
|
||||||
*
|
*
|
||||||
* If a property name is passed for `callback`, the created "_.pluck" style
|
* If a property name is passed for `callback`, the created "_.pluck" style
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ _.first(food, { 'type': 'fruit' });
|
|||||||
### <a id="_flattenarray--isshallowfalse-callbackidentity-thisarg"></a>`_.flatten(array [, isShallow=false, callback=identity, thisArg])`
|
### <a id="_flattenarray--isshallowfalse-callbackidentity-thisarg"></a>`_.flatten(array [, isShallow=false, callback=identity, thisArg])`
|
||||||
<a href="#_flattenarray--isshallowfalse-callbackidentity-thisarg">#</a> [Ⓢ](https://github.com/bestiejs/lodash/blob/master/lodash.js#L3478 "View in source") [Ⓣ][1]
|
<a href="#_flattenarray--isshallowfalse-callbackidentity-thisarg">#</a> [Ⓢ](https://github.com/bestiejs/lodash/blob/master/lodash.js#L3478 "View in source") [Ⓣ][1]
|
||||||
|
|
||||||
Flattens a nested array *(the nesting can be to any depth)*. If `isShallow` is truthy, `array` will only be flattened a single level. If `callback` is passed, each element of `array` is passed through a callback` before flattening. The `callback` is bound to `thisArg` and invoked with three arguments; *(value, index, array)*.
|
Flattens a nested array *(the nesting can be to any depth)*. If `isShallow` is truthy, `array` will only be flattened a single level. If `callback` is passed, each element of `array` is passed through a `callback` before flattening. The `callback` is bound to `thisArg` and invoked with three arguments; *(value, index, array)*.
|
||||||
|
|
||||||
If a property name is passed for `callback`, the created "_.pluck" style callback will return the property value of the given element.
|
If a property name is passed for `callback`, the created "_.pluck" style callback will return the property value of the given element.
|
||||||
|
|
||||||
@@ -766,7 +766,7 @@ _.union([1, 2, 3], [101, 2, 1, 10], [2, 1]);
|
|||||||
### <a id="_uniqarray--issortedfalse-callbackidentity-thisarg"></a>`_.uniq(array [, isSorted=false, callback=identity, thisArg])`
|
### <a id="_uniqarray--issortedfalse-callbackidentity-thisarg"></a>`_.uniq(array [, isSorted=false, callback=identity, thisArg])`
|
||||||
<a href="#_uniqarray--issortedfalse-callbackidentity-thisarg">#</a> [Ⓢ](https://github.com/bestiejs/lodash/blob/master/lodash.js#L4038 "View in source") [Ⓣ][1]
|
<a href="#_uniqarray--issortedfalse-callbackidentity-thisarg">#</a> [Ⓢ](https://github.com/bestiejs/lodash/blob/master/lodash.js#L4038 "View in source") [Ⓣ][1]
|
||||||
|
|
||||||
Creates a duplicate-value-free version of the `array` using strict equality for comparisons, i.e. `===`. If the `array` is already sorted, passing `true` for `isSorted` will run a faster algorithm. If `callback` is passed, each element of `array` is passed through a `callback` before uniqueness is computed. The `callback` is bound to `thisArg` and invoked with three arguments: *(value, index, array)*.
|
Creates a duplicate-value-free version of the `array` using strict equality for comparisons, i.e. `===`. If the `array` is already sorted, passing `true` for `isSorted` will run a faster algorithm. If `callback` is passed, each element of `array` is passed through a `callback` before uniqueness is computed. The `callback` is bound to `thisArg` and invoked with three arguments; *(value, index, array)*.
|
||||||
|
|
||||||
If a property name is passed for `callback`, the created "_.pluck" style callback will return the property value of the given element.
|
If a property name is passed for `callback`, the created "_.pluck" style callback will return the property value of the given element.
|
||||||
|
|
||||||
@@ -3965,4 +3965,4 @@ IE < `8` can't access characters by index and IE `8` can only access characters
|
|||||||
<!-- /div -->
|
<!-- /div -->
|
||||||
|
|
||||||
|
|
||||||
[1]: #Arrays "Jump back to the TOC."
|
[1]: #Arrays "Jump back to the TOC."
|
||||||
@@ -3437,7 +3437,7 @@
|
|||||||
/**
|
/**
|
||||||
* Flattens a nested array (the nesting can be to any depth). If `isShallow`
|
* Flattens a nested array (the nesting can be to any depth). If `isShallow`
|
||||||
* is truthy, `array` will only be flattened a single level. If `callback`
|
* is truthy, `array` will only be flattened a single level. If `callback`
|
||||||
* is passed, each element of `array` is passed through a callback` before
|
* is passed, each element of `array` is passed through a `callback` before
|
||||||
* flattening. The `callback` is bound to `thisArg` and invoked with three
|
* flattening. The `callback` is bound to `thisArg` and invoked with three
|
||||||
* arguments; (value, index, array).
|
* arguments; (value, index, array).
|
||||||
*
|
*
|
||||||
@@ -3996,7 +3996,7 @@
|
|||||||
* Creates a duplicate-value-free version of the `array` using strict equality
|
* Creates a duplicate-value-free version of the `array` using strict equality
|
||||||
* for comparisons, i.e. `===`. If the `array` is already sorted, passing `true`
|
* for comparisons, i.e. `===`. If the `array` is already sorted, passing `true`
|
||||||
* for `isSorted` will run a faster algorithm. If `callback` is passed, each
|
* for `isSorted` will run a faster algorithm. If `callback` is passed, each
|
||||||
* element of `array` is passed through a callback` before uniqueness is computed.
|
* element of `array` is passed through a `callback` before uniqueness is computed.
|
||||||
* The `callback` is bound to `thisArg` and invoked with three arguments; (value, index, array).
|
* The `callback` is bound to `thisArg` and invoked with three arguments; (value, index, array).
|
||||||
*
|
*
|
||||||
* If a property name is passed for `callback`, the created "_.pluck" style
|
* If a property name is passed for `callback`, the created "_.pluck" style
|
||||||
|
|||||||
Reference in New Issue
Block a user