Skip to content

Commit 68efa5b

Browse files
eoghanmurraygithub-actions[bot]
authored andcommitted
Apply formatting changes
1 parent b9f5784 commit 68efa5b

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

packages/rrweb/src/record/index.ts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,15 +209,16 @@ function record<T = eventWithTime>(
209209
e.type !== EventType.FullSnapshot &&
210210
!(
211211
e.type === EventType.IncrementalSnapshot &&
212-
[IncrementalSource.Mutation,
213-
IncrementalSource.MediaInteraction, // often automatic e.g. background video loop
214-
IncrementalSource.StyleSheetRule,
215-
IncrementalSource.CanvasMutation,
216-
IncrementalSource.Font,
217-
IncrementalSource.Log,
218-
IncrementalSource.StyleDeclaration,
219-
IncrementalSource.AdoptedStyleSheet,
220-
].includes(e.data.source)
212+
[
213+
IncrementalSource.Mutation,
214+
IncrementalSource.MediaInteraction, // often automatic e.g. background video loop
215+
IncrementalSource.StyleSheetRule,
216+
IncrementalSource.CanvasMutation,
217+
IncrementalSource.Font,
218+
IncrementalSource.Log,
219+
IncrementalSource.StyleDeclaration,
220+
IncrementalSource.AdoptedStyleSheet,
221+
].includes(e.data.source)
221222
)
222223
) {
223224
// we've got a user initiated event so first we need to apply

0 commit comments

Comments
 (0)