Skip to content

Commit 60cdecf

Browse files
committed
wip
1 parent 4bee35b commit 60cdecf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/signals/signals/src/core/signal-generators/dom-gen/mutation-observer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export class MutationObservable {
206206

207207
const shouldDebounceElement = shouldDebounce(element)
208208

209-
const _emitAttributeMutationEventDebounced = shouldDebounceElement
209+
const _emitMaybeDebouncedEvent = shouldDebounceElement
210210
? debounceWithKey(
211211
emit,
212212
// debounce based on the attribute names, so that we can debounce all changes to a single attribute. e.g if attribute "value" changes, that gets debounced, but if another attribute changes, that gets debounced separately
@@ -267,7 +267,7 @@ export class MutationObservable {
267267
...mutations,
268268
})
269269

270-
_emitAttributeMutationEventDebounced(mutations)
270+
_emitMaybeDebouncedEvent(mutations)
271271
}
272272

273273
const observer = new MutationObserver(cb)

0 commit comments

Comments
 (0)