Fix linting issues (#1347)
* Fix linting issues * Apply formatting changes
This commit is contained in:
@@ -8,7 +8,7 @@ export {
|
|||||||
IncrementalSource,
|
IncrementalSource,
|
||||||
MouseInteractions,
|
MouseInteractions,
|
||||||
ReplayerEvents,
|
ReplayerEvents,
|
||||||
type eventWithTime
|
type eventWithTime,
|
||||||
} from '@rrweb/types';
|
} from '@rrweb/types';
|
||||||
|
|
||||||
export type { recordOptions } from './types';
|
export type { recordOptions } from './types';
|
||||||
|
|||||||
@@ -1297,9 +1297,13 @@ export function initObservers(
|
|||||||
const inputHandler = initInputObserver(o);
|
const inputHandler = initInputObserver(o);
|
||||||
const mediaInteractionHandler = initMediaInteractionObserver(o);
|
const mediaInteractionHandler = initMediaInteractionObserver(o);
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||||
let styleSheetObserver = () => {};
|
let styleSheetObserver = () => {};
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||||
let adoptedStyleSheetObserver = () => {};
|
let adoptedStyleSheetObserver = () => {};
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||||
let styleDeclarationObserver = () => {};
|
let styleDeclarationObserver = () => {};
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||||
let fontObserver = () => {};
|
let fontObserver = () => {};
|
||||||
if (o.recordDOM) {
|
if (o.recordDOM) {
|
||||||
styleSheetObserver = initStyleSheetObserver(o, { win: currentWindow });
|
styleSheetObserver = initStyleSheetObserver(o, { win: currentWindow });
|
||||||
|
|||||||
Reference in New Issue
Block a user