MCPcopy Create free account
hub / github.com/codecombat/codecombat / constructor

Method constructor

app/core/Tracker2/BaseTracker.js:35–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 */
34export default class BaseTracker {
35 constructor () {
36 this.initializing = false
37 this.initialized = false
38
39 this.setupInitialization()
40
41 this.loggingEnabled = false
42 try {
43 this.loggingEnabled = (new URLSearchParams(window.location.search)).has(TRACKER_LOGGING_ENABLED_QUERY_PARAM)
44 } catch (e) {}
45
46 this.trackerInitTimeout = DEFAULT_TRACKER_INIT_TIMEOUT
47 }
48
49 async identify (traits = {}) {}
50

Callers

nothing calls this directly

Calls 1

setupInitializationMethod · 0.95

Tested by

no test coverage detected