From f081bf6f11447b31e6e905f45cfbd208f6ab590f Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Fri, 6 Apr 2012 16:54:09 -0400 Subject: [PATCH] fixes #541 -- broken docs for tap() --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index f38ffa8ab..d8b8c0dcd 100644 --- a/index.html +++ b/index.html @@ -1061,10 +1061,10 @@ _.clone({name : 'moe'});
 _.chain([1,2,3,200])
   .filter(function(num) { return num % 2 == 0; })
-  .tap(console.log)
+  .tap(alert)
   .map(function(num) { return num * num })
   .value();
-=> [2, 200]
+=> // [2, 200] (alerted)
 => [4, 40000]