Skip to content

Commit

Permalink
squash: Fix lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrozev committed Nov 20, 2023
1 parent c5827bc commit e1002bb
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 10 deletions.
5 changes: 3 additions & 2 deletions JitsiConference.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ JitsiConference.prototype._init = function(options = {}) {
confID: config.confID || `${this.connection.options.hosts.domain}/${this.options.name}`,
siteID: config.siteID,
roomName: this.options.name,
applicationName: config.applicationName,
applicationName: config.applicationName
});
Statistics.analytics.addPermanentProperties({
'callstats_name': this._statsCurrentId
Expand Down Expand Up @@ -2671,7 +2671,7 @@ JitsiConference.prototype.sendFeedback = function(overallFeedback, detailedFeedb
};

/**
* @returns false, since callstats in not supported anymore.
* @returns false, since callstats in not supported anymore.
*/
JitsiConference.prototype.isCallstatsEnabled = function() {
return false;
Expand All @@ -2690,6 +2690,7 @@ JitsiConference.prototype.getSsrcByTrack = function(track) {
/**
* This is a no-op since callstats is no longer supported.
*/
// eslint-disable-next-line no-empty-function
JitsiConference.prototype.sendApplicationLog = function() { };

/**
Expand Down
1 change: 0 additions & 1 deletion JitsiConferenceEventManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import Statistics from './modules/statistics/statistics';
import EventEmitterForwarder from './modules/util/EventEmitterForwarder';
import { MediaType } from './service/RTC/MediaType';
import RTCEvents from './service/RTC/RTCEvents';
import { VideoType } from './service/RTC/VideoType';
import AuthenticationEvents
from './service/authentication/AuthenticationEvents';
import {
Expand Down
1 change: 0 additions & 1 deletion JitsiMediaDevices.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import EventEmitter from 'events';
import * as JitsiMediaDevicesEvents from './JitsiMediaDevicesEvents';
import RTC from './modules/RTC/RTC';
import browser from './modules/browser';
import Statistics from './modules/statistics/statistics';
import { MediaType } from './service/RTC/MediaType';
import RTCEvents from './service/RTC/RTCEvents';

Expand Down
1 change: 0 additions & 1 deletion modules/statistics/AnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import browser from '../browser';

const MAX_CACHE_SIZE = 100;

// eslist-disable-line no-undef
const logger = getLogger(__filename);

/**
Expand Down
4 changes: 1 addition & 3 deletions modules/statistics/statistics.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import EventEmitter from 'events';

import * as JitsiConferenceEvents from '../../JitsiConferenceEvents';
import JitsiTrackError from '../../JitsiTrackError';
import { JitsiTrackEvents } from '../../JitsiTrackEvents';
import { FEEDBACK } from '../../service/statistics/AnalyticsEvents';
import * as StatisticsEvents from '../../service/statistics/Events';
import RTCStats from '../RTCStats/RTCStats';
import browser from '../browser';
import ScriptUtil from '../util/ScriptUtil';
import WatchRTC from '../watchRTC/WatchRTC';

import analytics from './AnalyticsAdapter';
Expand Down Expand Up @@ -366,7 +364,7 @@ Statistics.prototype.sendFeedback = function(overall, comment) {
Statistics.LOCAL_JID = require('../../service/statistics/constants').LOCAL_JID;

/**
* Sends event to analytics and logs a message to the logger/console.
* Sends event to analytics and logs a message to the logger/console.
*
* @param {string | Object} event the event name, or an object which
* represents the entire event.
Expand Down
2 changes: 0 additions & 2 deletions modules/version/ComponentsVersions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Statistics from '../statistics/statistics';

const logger = require('@jitsi/logger').getLogger(__filename);

/**
Expand Down

0 comments on commit e1002bb

Please sign in to comment.