Skip to content

Commit 8b691e9

Browse files
committed
rename
1 parent 43457cc commit 8b691e9

File tree

1 file changed

+5
-5
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ export class Fork {
4545
return noop;
4646
}
4747

48-
var values = new Map();
48+
var current_values = new Map();
4949

5050
for (const source of this.previous.keys()) {
5151
// mark_reactions(source, DIRTY);
52-
values.set(source, source.v);
52+
current_values.set(source, source.v);
5353
}
5454

5555
for (const [source, current] of this.current) {
@@ -60,16 +60,16 @@ export class Fork {
6060
if (fork === this) continue;
6161

6262
for (const [source, previous] of fork.previous) {
63-
if (!values.has(source)) {
63+
if (!current_values.has(source)) {
6464
// mark_reactions(source, DIRTY);
65-
values.set(source, source.v);
65+
current_values.set(source, source.v);
6666
source.v = previous;
6767
}
6868
}
6969
}
7070

7171
return () => {
72-
for (const [source, value] of values) {
72+
for (const [source, value] of current_values) {
7373
source.v = value;
7474
}
7575
};

0 commit comments

Comments
 (0)