Add a comment explaining that jQuery.map flattens arrays
This commit is contained in:
parent
7be11207b9
commit
34bf1a2a7d
1 changed files with 1 additions and 0 deletions
|
@ -726,6 +726,7 @@ jQuery.extend({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Flatten any nested arrays
|
||||||
return ret.concat.apply( [], ret );
|
return ret.concat.apply( [], ret );
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue