fix(core): update
This commit is contained in:
parent
4d5564e8d4
commit
78997e1e5a
@ -1,7 +1,10 @@
|
|||||||
declare global {
|
declare global {
|
||||||
// tslint:disable-next-line: interface-name
|
// tslint:disable-next-line: interface-name
|
||||||
interface Window {
|
interface Window {
|
||||||
|
_fs_debug: boolean;
|
||||||
_fs_host: any;
|
_fs_host: any;
|
||||||
|
_fs_org: string;
|
||||||
|
_fs_namespace: string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export const setupFullStory = async (fsCodeArg: string) => {
|
export const setupFullStory = async (fsCodeArg: string) => {
|
||||||
@ -13,7 +16,7 @@ export const setupFullStory = async (fsCodeArg: string) => {
|
|||||||
window['_fs_org'] = fsCodeArg;
|
window['_fs_org'] = fsCodeArg;
|
||||||
// tslint:disable-next-line: no-string-literal
|
// tslint:disable-next-line: no-string-literal
|
||||||
window['_fs_namespace'] = 'FS';
|
window['_fs_namespace'] = 'FS';
|
||||||
(function(m, n, e, t, l, o, g, y) {
|
((m, n, e, t, l, o, g, y) => {
|
||||||
if (e in m) {
|
if (e in m) {
|
||||||
if (m.console && m.console.log) {
|
if (m.console && m.console.log) {
|
||||||
m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');
|
m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');
|
||||||
|
Loading…
Reference in New Issue
Block a user