From 3169490d7f70a1ed0ec62b48f4a67f305f3a04f3 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 22 Feb 2024 17:55:22 -0500 Subject: [PATCH] more --- .../src/internal/client/dom/blocks/each.js | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/packages/svelte/src/internal/client/dom/blocks/each.js b/packages/svelte/src/internal/client/dom/blocks/each.js index c3266b91c7..f9f8f75251 100644 --- a/packages/svelte/src/internal/client/dom/blocks/each.js +++ b/packages/svelte/src/internal/client/dom/blocks/each.js @@ -551,31 +551,6 @@ function get_first_child(block) { return /** @type {Text | Element | Comment} */ (current); } -/** - * @param {Array} active_transitions - * @returns {void} - */ -function destroy_active_transition_blocks(active_transitions) { - var length = active_transitions.length; - - if (length > 0) { - var i = 0; - var block; - var transition; - - for (; i < length; i++) { - block = active_transitions[i]; - transition = block.r; - if (transition !== null) { - block.r = null; - destroy_each_item_block(block, null, false); - } - } - - active_transitions.length = 0; - } -} - /** * @param {import('../../types.js').Block} block * @returns {Text | Element | Comment}