From: adam j. sontag Date: Sat, 27 Nov 2010 22:15:33 +0000 (-0500) Subject: Add a comment explaining that jQuery.map flattens arrays X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=34bf1a2a7d688d9861350fd7836eb98268db821e Add a comment explaining that jQuery.map flattens arrays --- diff --git a/src/core.js b/src/core.js index 3389e83..3c7572f 100644 --- a/src/core.js +++ b/src/core.js @@ -726,6 +726,7 @@ jQuery.extend({ } } + // Flatten any nested arrays return ret.concat.apply( [], ret ); },