add comments

This commit is contained in:
Michael Telatynski 2020-10-30 12:44:46 +00:00
parent db38d737a4
commit 50a937c523

View file

@ -31,7 +31,7 @@ if (!TextEncoder) {
} }
const INACTIVITY_TIME = 20; // seconds const INACTIVITY_TIME = 20; // seconds
const HEARTBEAT_INTERVAL = 5_000; const HEARTBEAT_INTERVAL = 5_000; // ms
const SESSION_UPDATE_INTERVAL = 60; // seconds const SESSION_UPDATE_INTERVAL = 60; // seconds
const MAX_PENDING_EVENTS = 1000; 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; window.mxCountlyAnalytics = CountlyAnalytics;