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-Tag: 1.5b1~108^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F112%2Fhead;p=jquery.git Add a comment explaining that jQuery.map flattens arrays --- diff --git a/src/core.js b/src/core.js index 3389e83f7..3c7572fe6 100644 --- a/src/core.js +++ b/src/core.js @@ -726,6 +726,7 @@ jQuery.extend({ } } + // Flatten any nested arrays return ret.concat.apply( [], ret ); },