Rebuild docs and dist.

This commit is contained in:
John-David Dalton
2013-12-16 02:34:46 -08:00
parent 172cc1ffea
commit 676e1705c1
2 changed files with 17 additions and 15 deletions

View File

@@ -2643,7 +2643,7 @@
* @param {number} [n] The number of elements to sample. * @param {number} [n] The number of elements to sample.
* @param- {Object} [guard] Allows working with functions like `_.map` * @param- {Object} [guard] Allows working with functions like `_.map`
* without using their `index` arguments as `n`. * without using their `index` arguments as `n`.
* @returns {Array} Returns the random sample(s) of `collection`. * @returns {*} Returns the random sample(s) of `collection`.
* @example * @example
* *
* _.sample([1, 2, 3, 4]); * _.sample([1, 2, 3, 4]);
@@ -4763,16 +4763,17 @@
} }
/** /**
* Invokes `interceptor` with the `value` as the first argument and then * This method invokes `interceptor` and returns `value`. The interceptor is
* returns `value`. The purpose of this method is to "tap into" a method * bound to `thisArg` and invoked with one argument; (value). The purpose of
* chain in order to perform operations on intermediate results within * this method is to "tap into" a method chain in order to perform operations
* the chain. * on intermediate results within the chain.
* *
* @static * @static
* @memberOf _ * @memberOf _
* @category Chaining * @category Chaining
* @param {*} value The value to provide to `interceptor`. * @param {*} value The value to provide to `interceptor`.
* @param {Function} interceptor The function to invoke. * @param {Function} interceptor The function to invoke.
* @param {*} [thisArg] The `this` binding of `interceptor`.
* @returns {*} Returns `value`. * @returns {*} Returns `value`.
* @example * @example
* *

View File

@@ -44,7 +44,7 @@
## `Chaining` ## `Chaining`
* <a href="#_value">`_`</a> * <a href="#_value">`_`</a>
* <a href="#_chainvalue">`_.chain`</a> * <a href="#_chainvalue">`_.chain`</a>
* <a href="#_tapvalue-interceptor">`_.tap`</a> * <a href="#_tapvalue-interceptor-thisarg">`_.tap`</a>
* <a href="#_prototypechain">`_.prototype.chain`</a> * <a href="#_prototypechain">`_.prototype.chain`</a>
* <a href="#_prototypetostring">`_.prototype.toString`</a> * <a href="#_prototypetostring">`_.prototype.toString`</a>
* <a href="#_prototypevalueof" class="alias">`_.prototype.value` -> `valueOf`</a> * <a href="#_prototypevalueof" class="alias">`_.prototype.value` -> `valueOf`</a>
@@ -1173,14 +1173,15 @@ var youngest = _.chain(characters)
<!-- div --> <!-- div -->
### <a id="_tapvalue-interceptor"></a>`_.tap(value, interceptor)` ### <a id="_tapvalue-interceptor-thisarg"></a>`_.tap(value, interceptor, [thisArg])`
<a href="#_tapvalue-interceptor">#</a> [&#x24C8;](https://github.com/lodash/lodash/blob/master/lodash.js#L6864 "View in source") [&#x24C9;][1] <a href="#_tapvalue-interceptor-thisarg">#</a> [&#x24C8;](https://github.com/lodash/lodash/blob/master/lodash.js#L6865 "View in source") [&#x24C9;][1]
Invokes `interceptor` with the `value` as the first argument and then returns `value`. The purpose of this method is to "tap into" a method chain in order to perform operations on intermediate results within the chain. This method invokes `interceptor` and returns `value`. The interceptor is bound to `thisArg` and invoked with one argument; *(value)*. The purpose of this method is to "tap into" a method chain in order to perform operations on intermediate results within the chain.
#### Arguments #### Arguments
1. `value` *(&#42;)*: The value to provide to `interceptor`. 1. `value` *(&#42;)*: The value to provide to `interceptor`.
2. `interceptor` *(Function)*: The function to invoke. 2. `interceptor` *(Function)*: The function to invoke.
3. `[thisArg]` *(&#42;)*: The `this` binding of `interceptor`.
#### Returns #### Returns
*(&#42;)*: Returns `value`. *(&#42;)*: Returns `value`.
@@ -1202,7 +1203,7 @@ _([1, 2, 3, 4])
<!-- div --> <!-- div -->
### <a id="_prototypechain"></a>`_.prototype.chain()` ### <a id="_prototypechain"></a>`_.prototype.chain()`
<a href="#_prototypechain">#</a> [&#x24C8;](https://github.com/lodash/lodash/blob/master/lodash.js#L6894 "View in source") [&#x24C9;][1] <a href="#_prototypechain">#</a> [&#x24C8;](https://github.com/lodash/lodash/blob/master/lodash.js#L6895 "View in source") [&#x24C9;][1]
Enables explicit method chaining on the wrapper object. Enables explicit method chaining on the wrapper object.
@@ -1236,7 +1237,7 @@ _(characters).chain()
<!-- div --> <!-- div -->
### <a id="_prototypetostring"></a>`_.prototype.toString()` ### <a id="_prototypetostring"></a>`_.prototype.toString()`
<a href="#_prototypetostring">#</a> [&#x24C8;](https://github.com/lodash/lodash/blob/master/lodash.js#L6911 "View in source") [&#x24C9;][1] <a href="#_prototypetostring">#</a> [&#x24C8;](https://github.com/lodash/lodash/blob/master/lodash.js#L6912 "View in source") [&#x24C9;][1]
Produces the `toString` result of the wrapped value. Produces the `toString` result of the wrapped value.
@@ -1257,7 +1258,7 @@ _([1, 2, 3]).toString();
<!-- div --> <!-- div -->
### <a id="_prototypevalueof"></a>`_.prototype.valueOf()` ### <a id="_prototypevalueof"></a>`_.prototype.valueOf()`
<a href="#_prototypevalueof">#</a> [&#x24C8;](https://github.com/lodash/lodash/blob/master/lodash.js#L6928 "View in source") [&#x24C9;][1] <a href="#_prototypevalueof">#</a> [&#x24C8;](https://github.com/lodash/lodash/blob/master/lodash.js#L6929 "View in source") [&#x24C9;][1]
Extracts the wrapped value. Extracts the wrapped value.
@@ -2009,7 +2010,7 @@ Retrieves a random element or `n` random elements from a collection.
2. `[n]` *(number)*: The number of elements to sample. 2. `[n]` *(number)*: The number of elements to sample.
#### Returns #### Returns
*(Array)*: Returns the random sample(s) of `collection`. *(&#42;)*: Returns the random sample(s) of `collection`.
#### Example #### Example
```js ```js
@@ -3783,7 +3784,7 @@ If an object is provided for `callback` the created "_.where" style callback wil
3. `[thisArg]` *(&#42;)*: The `this` binding of `callback`. 3. `[thisArg]` *(&#42;)*: The `this` binding of `callback`.
#### Returns #### Returns
*(Array)*: Returns a new object with values of the results of each `callback` execution. *(Object)*: Returns a new object with values of the results of each `callback` execution.
#### Example #### Example
```js ```js
@@ -4580,7 +4581,7 @@ A reference to the `lodash` function.
<!-- div --> <!-- div -->
### <a id="_version"></a>`_.VERSION` ### <a id="_version"></a>`_.VERSION`
<a href="#_version">#</a> [&#x24C8;](https://github.com/lodash/lodash/blob/master/lodash.js#L7128 "View in source") [&#x24C9;][1] <a href="#_version">#</a> [&#x24C8;](https://github.com/lodash/lodash/blob/master/lodash.js#L7129 "View in source") [&#x24C9;][1]
*(string)*: The semantic version number. *(string)*: The semantic version number.