Description
We have a number jQuery.merge & push.apply calls that seem interchangeable in many cases. We should investigate their usage and perhaps align to one of them. If push.apply works fine, we could investigate simplifying the jQuery.merge implementation by leveraging it.
We used to have a comment about that in domManip.js but we should investigate all places.
When investigating, take #4320 into account.
Link to test case
Description
We have a number
jQuery.merge&push.applycalls that seem interchangeable in many cases. We should investigate their usage and perhaps align to one of them. Ifpush.applyworks fine, we could investigate simplifying thejQuery.mergeimplementation by leveraging it.We used to have a comment about that in
domManip.jsbut we should investigate all places.When investigating, take #4320 into account.
Link to test case