From 50a937c5230fd214fed667e17ab43fbe4030c582 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 30 Oct 2020 12:44:46 +0000 Subject: [PATCH] add comments --- src/CountlyAnalytics.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CountlyAnalytics.ts b/src/CountlyAnalytics.ts index 6c6ccb8569..41b995021f 100644 --- a/src/CountlyAnalytics.ts +++ b/src/CountlyAnalytics.ts @@ -31,7 +31,7 @@ if (!TextEncoder) { } const INACTIVITY_TIME = 20; // seconds -const HEARTBEAT_INTERVAL = 5_000; +const HEARTBEAT_INTERVAL = 5_000; // ms const SESSION_UPDATE_INTERVAL = 60; // seconds const MAX_PENDING_EVENTS = 1000; @@ -938,4 +938,5 @@ export default class CountlyAnalytics { } } +// expose on window for easy access from the console window.mxCountlyAnalytics = CountlyAnalytics;