Skip to content

Commit

Permalink
Fixes jashkenas#760 -- clarify chaining docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Sep 12, 2012
1 parent 22af08a commit b6375d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1511,9 +1511,9 @@ <h2 id="chaining">Chaining</h2>
_([1, 2, 3]).map(function(n){ return n * 2; });</pre>

<p>
Calling <tt>chain</tt> on a wrapped object will cause all future method calls to
return wrapped objects as well. When you've finished the computation,
use <tt>value</tt> to retrieve the final value. Here's an example of chaining
Calling <tt>chain</tt> will cause all future method calls to return
wrapped objects. When you've finished the computation, use
<tt>value</tt> to retrieve the final value. Here's an example of chaining
together a <b>map/flatten/reduce</b>, in order to get the word count of
every word in a song.
</p>
Expand Down

0 comments on commit b6375d7

Please sign in to comment.