Skip to content

Commit

Permalink
Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea authored and github-actions[bot] committed Oct 30, 2023
1 parent c1237fb commit bd8db36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ From this monorepo, Sentry maintains and publishes the following NPM packages:

Apart from some small fixes/changes in this fork, these are the main relevant changes compared to the upstream rrweb repository:

* Removed `hooks` related code, so passing `hooks: myHooks` to `record()` will have no effect
* Removed `plugins` related code, so passing `plugins: myPlugins` to `record()` will have no effect
* Added build flags to allow to disable iframe, canvas & shadow dom recording (in order to get bundle size optimizations)
- Removed `hooks` related code, so passing `hooks: myHooks` to `record()` will have no effect
- Removed `plugins` related code, so passing `plugins: myPlugins` to `record()` will have no effect
- Added build flags to allow to disable iframe, canvas & shadow dom recording (in order to get bundle size optimizations)

# rrweb

Expand Down
5 changes: 4 additions & 1 deletion packages/rrweb/src/record/observer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,10 @@ function initCustomElementObserver({
return restoreHandler;
}

export function initObservers(o: observerParam, _hooks: hooksParam = {}): listenerHandler {
export function initObservers(
o: observerParam,
_hooks: hooksParam = {},
): listenerHandler {
const currentWindow = o.doc.defaultView; // basically document.window
if (!currentWindow) {
return () => {
Expand Down

0 comments on commit bd8db36

Please sign in to comment.