]> source.dussan.org Git - jquery.git/commitdiff
Add a comment explaining that jQuery.map flattens arrays 112/head
authoradam j. sontag <ajpiano@ajpiano.com>
Sat, 27 Nov 2010 22:15:33 +0000 (17:15 -0500)
committeradam j. sontag <ajpiano@ajpiano.com>
Sat, 27 Nov 2010 22:15:33 +0000 (17:15 -0500)
src/core.js

index 3389e83f79c5979dd48122cb16b6e328476893ff..3c7572fe6e3f158db25d1d1cfbaebe40195d5e57 100644 (file)
@@ -726,6 +726,7 @@ jQuery.extend({
                        }
                }
 
+               // Flatten any nested arrays
                return ret.concat.apply( [], ret );
        },