git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7be1120
)
Add a comment explaining that jQuery.map flattens arrays
author
adam j. sontag
<ajpiano@ajpiano.com>
Sat, 27 Nov 2010 22:15:33 +0000
(17:15 -0500)
committer
adam j. sontag
<ajpiano@ajpiano.com>
Sat, 27 Nov 2010 22:15:33 +0000
(17:15 -0500)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
3389e83
..
3c7572f
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-726,6
+726,7
@@
jQuery.extend({
}
}
}
}
+ // Flatten any nested arrays
return ret.concat.apply( [], ret );
},
return ret.concat.apply( [], ret );
},