Skip to content

Commit

Permalink
Don't just re-assert 'detected' in the explanatory comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eoghanmurray committed May 20, 2024
1 parent eee1b86 commit 49f6581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rrweb-snapshot/src/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ function serializeNode(
newlyAddedElement?: boolean;
blankTextNodes?: boolean;
/**
* Called when an asset is detected.
* Called when an asset is encountered while serializing
* Example of assets:
* - `src` attribute in `img` tags.
* - `srcset` attribute in `img` tags.
Expand Down Expand Up @@ -653,7 +653,7 @@ function serializeElementNode(
newlyAddedElement?: boolean;
rootId: number | undefined;
/**
* Called when an asset is detected.
* Called when an asset is encountered while serializing
* Example of assets:
* - `src` attribute in `img` tags.
* - `srcset` attribute in `img` tags.
Expand Down

0 comments on commit 49f6581

Please sign in to comment.