From 256c65f426a2b90e6d5ff98f5a734cbbd5100631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski-Owczarek?= Date: Thu, 13 Jul 2023 00:40:28 +0200 Subject: [PATCH] Manipulation: Remove a TODO comment in favor of tracking in gh-5298 gh-5298 is about analysing `push.apply` & `jQuery.merge` usage more comprehensively. --- src/manipulation/domManip.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/manipulation/domManip.js b/src/manipulation/domManip.js index 63c0bcaf14..65856a67df 100644 --- a/src/manipulation/domManip.js +++ b/src/manipulation/domManip.js @@ -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" ) ); } }