Skip to content

Commit

Permalink
Manipulation: Remove a TODO comment in favor of tracking in jquerygh-…
Browse files Browse the repository at this point in the history
…5298

jquerygh-5298 is about analysing `push.apply` & `jQuery.merge` usage more
comprehensively.
  • Loading branch information
mgol committed Jul 12, 2023
1 parent e124e80 commit 256c65f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/manipulation/domManip.js
Expand Up @@ -65,11 +65,6 @@ function domManip( collection, args, callback, ignored ) {

// Keep references to cloned scripts for later restoration
if ( hasScripts ) {

// TODO: check if this can be replaced with
// `push.apply( scripts, getAll( node, "script" ) )`
// but remember about gh-4320. When looking into it,
// perhaps simplify jQuery.merge itself.
jQuery.merge( scripts, getAll( node, "script" ) );
}
}
Expand Down

0 comments on commit 256c65f

Please sign in to comment.