Bump to v4.2.0.

This commit is contained in:
John-David Dalton
2016-02-01 23:13:04 -08:00
parent 7293d39642
commit 5ca813254d
62 changed files with 303 additions and 271 deletions

8
tap.js
View File

@@ -1,10 +1,9 @@
define([], function() {
/**
* This method invokes `interceptor` and returns `value`. The interceptor is
* 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.
* This method invokes `interceptor` and returns `value`. The interceptor
* is invoked with one argument; (value). The purpose of this method is to
* "tap into" a method chain in order to modify intermediate results.
*
* @static
* @memberOf _
@@ -16,6 +15,7 @@ define([], function() {
*
* _([1, 2, 3])
* .tap(function(array) {
* // Mutate input array.
* array.pop();
* })
* .reverse()