Skip to content

Commit 247b71a

Browse files
committed
give a more descriptive name if we're running it across modules
1 parent 8cc292f commit 247b71a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
branch,
1818
destroy_effect,
1919
effect,
20-
out,
20+
run_out_transitions,
2121
pause_children,
2222
pause_effect,
2323
resume_effect
@@ -65,7 +65,7 @@ function pause_effects(effects, controlled_anchor, callback) {
6565
each_element.append(controlled_anchor);
6666
}
6767

68-
out(transitions, () => {
68+
run_out_transitions(transitions, () => {
6969
for (var i = 0; i < length; i++) {
7070
destroy_effect(effects[i]);
7171
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ export function pause_effect(effect, callback) {
302302

303303
pause_children(effect, transitions, true);
304304

305-
out(transitions, () => {
305+
run_out_transitions(transitions, () => {
306306
destroy_effect(effect);
307307
if (callback) callback();
308308
});
@@ -312,7 +312,7 @@ export function pause_effect(effect, callback) {
312312
* @param {import('#client').TransitionManager[]} transitions
313313
* @param {() => void} fn
314314
*/
315-
export function out(transitions, fn) {
315+
export function run_out_transitions(transitions, fn) {
316316
var remaining = transitions.length;
317317
if (remaining > 0) {
318318
var check = () => --remaining || fn();

0 commit comments

Comments
 (0)