Skip to content

Commit 7feef72

Browse files
committed
remove unused exports
1 parent 5bd9b43 commit 7feef72

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

packages/svelte/src/internal/client/dom/blocks/each.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ import {
2929
block,
3030
branch,
3131
destroy_effect,
32-
run_out_transitions,
33-
pause_children,
3432
pause_effect,
3533
resume_effect
3634
} from '../../reactivity/effects.js';

packages/svelte/src/internal/client/reactivity/effects.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -593,17 +593,11 @@ export function pause_effect(effect, callback, destroy = true) {
593593

594594
pause_children(effect, transitions, true);
595595

596-
run_out_transitions(transitions, () => {
596+
var fn = () => {
597597
if (destroy) destroy_effect(effect);
598598
if (callback) callback();
599-
});
600-
}
599+
};
601600

602-
/**
603-
* @param {TransitionManager[]} transitions
604-
* @param {() => void} fn
605-
*/
606-
export function run_out_transitions(transitions, fn) {
607601
var remaining = transitions.length;
608602
if (remaining > 0) {
609603
var check = () => --remaining || fn();
@@ -620,7 +614,7 @@ export function run_out_transitions(transitions, fn) {
620614
* @param {TransitionManager[]} transitions
621615
* @param {boolean} local
622616
*/
623-
export function pause_children(effect, transitions, local) {
617+
function pause_children(effect, transitions, local) {
624618
if ((effect.f & INERT) !== 0) return;
625619
effect.f ^= INERT;
626620

0 commit comments

Comments
 (0)