From 34bf1a2a7d688d9861350fd7836eb98268db821e Mon Sep 17 00:00:00 2001 From: "adam j. sontag" Date: Sat, 27 Nov 2010 17:15:33 -0500 Subject: [PATCH] Add a comment explaining that jQuery.map flattens arrays --- src/core.js | 1 + 1 file changed, 1 insertion(+) 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 ); }, -- 1.7.10.4