remove comment on bitanalytics
This commit is contained in:
parent
9076ad2098
commit
4cf68076a0
1 changed files with 2 additions and 4 deletions
|
|
@ -6256,7 +6256,6 @@ var ClickAction = /** @class */ (function (_super) {
|
||||||
// Add event listener to all the elements found
|
// Add event listener to all the elements found
|
||||||
for (var i = 0; i < elements.length; i++) {
|
for (var i = 0; i < elements.length; i++) {
|
||||||
var element = elements[i];
|
var element = elements[i];
|
||||||
console.log('init ' + this.name);
|
|
||||||
element.addEventListener('click', this.listener);
|
element.addEventListener('click', this.listener);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -6413,7 +6412,6 @@ var AdjustChannel = /** @class */ (function (_super) {
|
||||||
_this.eventTypes = config.eventTypes;
|
_this.eventTypes = config.eventTypes;
|
||||||
var os = _this.adjustedOs(config.os);
|
var os = _this.adjustedOs(config.os);
|
||||||
_this.advertisingId = _this.getAdvertisingId(os);
|
_this.advertisingId = _this.getAdvertisingId(os);
|
||||||
console.log('Advertising ID for adjust: ' + _this.advertisingId);
|
|
||||||
// TODO: Different initialisation for Cordova.
|
// TODO: Different initialisation for Cordova.
|
||||||
var sessionParams = {
|
var sessionParams = {
|
||||||
app_version: config.appVersion,
|
app_version: config.appVersion,
|
||||||
|
|
@ -6656,7 +6654,7 @@ var MixpanelChannel = /** @class */ (function (_super) {
|
||||||
function MixpanelChannel(name, config) {
|
function MixpanelChannel(name, config) {
|
||||||
var _this = _super.call(this, name) || this;
|
var _this = _super.call(this, name) || this;
|
||||||
if (!config.token) {
|
if (!config.token) {
|
||||||
throw new DOMException('[BitAnalytics] Config incorrect.');
|
throw new Error('[BitAnalytics] Config incorrect.');
|
||||||
}
|
}
|
||||||
_this.mixpanelInstance = mixpanel;
|
_this.mixpanelInstance = mixpanel;
|
||||||
mixpanel.init(config.token, config.config);
|
mixpanel.init(config.token, config.config);
|
||||||
|
|
@ -7037,7 +7035,7 @@ var LogEventHandlers = /** @class */ (function () {
|
||||||
_this.channels.push(channel);
|
_this.channels.push(channel);
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
console.log('[BitAnalytics] ' + error.name + ': ' + error.message);
|
console.log(error.message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue