fix(tracker): fix typo
This commit is contained in:
parent
00be3708a1
commit
c57846eab3
5 changed files with 8 additions and 8 deletions
|
|
@ -287,7 +287,7 @@ export default class DOMManager extends ListWalker<Message> {
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
||||||
// @depricated since 4.0.2 in favor of adopted_ss_insert/delete_rule + add_owner as being common case for StyleSheets
|
// @deprecated since 4.0.2 in favor of adopted_ss_insert/delete_rule + add_owner as being common case for StyleSheets
|
||||||
case MType.CssInsertRule:
|
case MType.CssInsertRule:
|
||||||
vn = this.vElements.get(msg.id)
|
vn = this.vElements.get(msg.id)
|
||||||
if (!vn) { logger.error("Node not found", msg); return }
|
if (!vn) { logger.error("Node not found", msg); return }
|
||||||
|
|
@ -306,7 +306,7 @@ export default class DOMManager extends ListWalker<Message> {
|
||||||
}
|
}
|
||||||
vn.onStyleSheet(sheet => deleteRule(sheet, msg))
|
vn.onStyleSheet(sheet => deleteRule(sheet, msg))
|
||||||
return
|
return
|
||||||
// end @depricated
|
// end @deprecated
|
||||||
|
|
||||||
case MType.CreateIFrameDocument:
|
case MType.CreateIFrameDocument:
|
||||||
vn = this.vElements.get(msg.frameID)
|
vn = this.vElements.get(msg.frameID)
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ export class VElement extends VParent {
|
||||||
type StyleSheetCallback = (s: CSSStyleSheet) => void
|
type StyleSheetCallback = (s: CSSStyleSheet) => void
|
||||||
export type StyleElement = HTMLStyleElement | SVGStyleElement
|
export type StyleElement = HTMLStyleElement | SVGStyleElement
|
||||||
|
|
||||||
// @Depricated TODO: remove in favor of PostponedStyleSheet
|
// @deprecated TODO: remove in favor of PostponedStyleSheet
|
||||||
export class VStyleElement extends VElement {
|
export class VStyleElement extends VElement {
|
||||||
private loaded = false
|
private loaded = false
|
||||||
private stylesheetCallbacks: StyleSheetCallback[] = []
|
private stylesheetCallbacks: StyleSheetCallback[] = []
|
||||||
|
|
|
||||||
|
|
@ -31,9 +31,9 @@ export interface Options {
|
||||||
controlConfirm: ConfirmOptions;
|
controlConfirm: ConfirmOptions;
|
||||||
recordingConfirm: ConfirmOptions;
|
recordingConfirm: ConfirmOptions;
|
||||||
|
|
||||||
// @depricated
|
// @deprecated
|
||||||
confirmText?: string;
|
confirmText?: string;
|
||||||
// @depricated
|
// @deprecated
|
||||||
confirmStyle?: Properties;
|
confirmStyle?: Properties;
|
||||||
|
|
||||||
config: RTCConfiguration;
|
config: RTCConfiguration;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ export interface Options {
|
||||||
ignoreHeaders: Array<string> | boolean
|
ignoreHeaders: Array<string> | boolean
|
||||||
sanitiser?: (RequestResponseData) => RequestResponseData | null
|
sanitiser?: (RequestResponseData) => RequestResponseData | null
|
||||||
|
|
||||||
// Depricated
|
// @deprecated
|
||||||
requestSanitizer?: any
|
requestSanitizer?: any
|
||||||
responseSanitizer?: any
|
responseSanitizer?: any
|
||||||
}
|
}
|
||||||
|
|
@ -49,7 +49,7 @@ export default function(opts: Partial<Options> = {}): (app: App | null) => Windo
|
||||||
opts,
|
opts,
|
||||||
);
|
);
|
||||||
if (options.requestSanitizer && options.responseSanitizer) {
|
if (options.requestSanitizer && options.responseSanitizer) {
|
||||||
console.warn("OpenReplay fetch plugin: `requestSanitizer` and `responseSanitizer` options are depricated. Please, use `sanitiser` instead (check out documentation at https://docs.openreplay.com/plugins/fetch).")
|
console.warn("OpenReplay fetch plugin: `requestSanitizer` and `responseSanitizer` options are deprecated. Please, use `sanitiser` instead (check out documentation at https://docs.openreplay.com/plugins/fetch).")
|
||||||
}
|
}
|
||||||
|
|
||||||
return (app: App | null) => {
|
return (app: App | null) => {
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,7 @@ export default class App {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// @depricated (use sessionHash on start instead)
|
// @deprecated (use sessionHash on start instead)
|
||||||
if (sessionToken != null) {
|
if (sessionToken != null) {
|
||||||
this.session.applySessionHash(sessionToken)
|
this.session.applySessionHash(sessionToken)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue