Fixes some jshint errors.

This commit is contained in:
damencho 2016-09-28 11:29:47 -05:00
parent 2a8700bca3
commit 15f4288e4a
3 changed files with 6 additions and 5 deletions

View File

@ -1220,8 +1220,9 @@ export default {
APP.UI.handleLastNEndpoints(ids, enteringIds); APP.UI.handleLastNEndpoints(ids, enteringIds);
}); });
room.on( room.on(
ConferenceEvents.PARTICIPANT_CONN_STATUS_CHANGED, (id, isActive) => { ConferenceEvents.PARTICIPANT_CONN_STATUS_CHANGED,
APP.UI.participantConnectionStatusChanged(id, isActive); (id, isActive) => {
APP.UI.participantConnectionStatusChanged(id, isActive);
}); });
room.on(ConferenceEvents.DOMINANT_SPEAKER_CHANGED, (id) => { room.on(ConferenceEvents.DOMINANT_SPEAKER_CHANGED, (id) => {
if (this.isLocalId(id)) { if (this.isLocalId(id)) {

View File

@ -92,7 +92,7 @@ export default class LargeVideoManager {
*/ */
onVideoInterrupted () { onVideoInterrupted () {
this.enableLocalConnectionProblemFilter(true); this.enableLocalConnectionProblemFilter(true);
this._setLocalConnectionMessage("connection.RECONNECTING") this._setLocalConnectionMessage("connection.RECONNECTING");
// Show the message only if the video is currently being displayed // Show the message only if the video is currently being displayed
this.showLocalConnectionMessage(this.state === VIDEO_CONTAINER_TYPE); this.showLocalConnectionMessage(this.state === VIDEO_CONTAINER_TYPE);
} }

View File

@ -197,7 +197,7 @@ RemoteVideo.prototype.setMutedView = function(isMuted) {
SmallVideo.prototype.setMutedView.call(this, isMuted); SmallVideo.prototype.setMutedView.call(this, isMuted);
// Update 'mutedWhileDisconnected' flag // Update 'mutedWhileDisconnected' flag
this._figureOutMutedWhileDisconnected(this.isConnectionActive() === false); this._figureOutMutedWhileDisconnected(this.isConnectionActive() === false);
} };
/** /**
* Figures out the value of {@link #mutedWhileDisconnected} flag by taking into * Figures out the value of {@link #mutedWhileDisconnected} flag by taking into
@ -215,7 +215,7 @@ RemoteVideo.prototype._figureOutMutedWhileDisconnected
} else if (!isDisconnected && !this.isVideoMuted) { } else if (!isDisconnected && !this.isVideoMuted) {
this.mutedWhileDisconnected = false; this.mutedWhileDisconnected = false;
} }
} };
/** /**
* Adds the remote video menu element for the given <tt>id</tt> in the * Adds the remote video menu element for the given <tt>id</tt> in the