Add a comment explaining that jQuery.map flattens arrays

This commit is contained in:
adam j. sontag 2010-11-27 17:15:33 -05:00
parent 7be11207b9
commit 34bf1a2a7d

View file

@ -726,6 +726,7 @@ jQuery.extend({
} }
} }
// Flatten any nested arrays
return ret.concat.apply( [], ret ); return ret.concat.apply( [], ret );
}, },