fix jshint issues
This commit is contained in:
parent
fdfa9de150
commit
401e5e7ae0
|
@ -2,10 +2,3 @@ node_modules
|
||||||
libs
|
libs
|
||||||
debian
|
debian
|
||||||
analytics.js
|
analytics.js
|
||||||
lib-jitsi-meet.js
|
|
||||||
|
|
||||||
modules/xmpp/strophe.emuc.js
|
|
||||||
modules/UI/prezi/Prezi.js
|
|
||||||
modules/RTC/adapter.screenshare.js
|
|
||||||
modules/statistics/*
|
|
||||||
modules/UI/videolayout/*
|
|
||||||
|
|
|
@ -620,8 +620,8 @@ UI.getRemoteVideoType = function (jid) {
|
||||||
return VideoLayout.getRemoteVideoType(jid);
|
return VideoLayout.getRemoteVideoType(jid);
|
||||||
};
|
};
|
||||||
|
|
||||||
UI.connectionIndicatorShowMore = function(jid) {
|
UI.connectionIndicatorShowMore = function(id) {
|
||||||
return VideoLayout.showMore(jid);
|
VideoLayout.showMore(id);
|
||||||
};
|
};
|
||||||
|
|
||||||
// FIXME check if someone user this
|
// FIXME check if someone user this
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* global $, interfaceConfig, APP */
|
/* global $, interfaceConfig, APP, JitsiMeetJS */
|
||||||
import ConnectionIndicator from "./ConnectionIndicator";
|
import ConnectionIndicator from "./ConnectionIndicator";
|
||||||
import UIUtil from "../util/UIUtil";
|
import UIUtil from "../util/UIUtil";
|
||||||
import UIEvents from "../../../service/UI/UIEvents";
|
import UIEvents from "../../../service/UI/UIEvents";
|
||||||
|
|
|
@ -253,7 +253,8 @@ RemoteVideo.prototype.addRemoteStreamElement = function (stream) {
|
||||||
// calling attach will show it back
|
// calling attach will show it back
|
||||||
$(streamElement).hide();
|
$(streamElement).hide();
|
||||||
|
|
||||||
// If the container is currently visible we attach the stream to the element.
|
// If the container is currently visible
|
||||||
|
// we attach the stream to the element.
|
||||||
if (!isVideo || (this.container.offsetParent !== null && isVideo)) {
|
if (!isVideo || (this.container.offsetParent !== null && isVideo)) {
|
||||||
this.waitForPlayback(streamElement, stream);
|
this.waitForPlayback(streamElement, stream);
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* global $, APP, require */
|
/* global $, APP, JitsiMeetJS */
|
||||||
/* jshint -W101 */
|
/* jshint -W101 */
|
||||||
import Avatar from "../avatar/Avatar";
|
import Avatar from "../avatar/Avatar";
|
||||||
import UIUtil from "../util/UIUtil";
|
import UIUtil from "../util/UIUtil";
|
||||||
|
|
|
@ -819,15 +819,15 @@ var VideoLayout = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
showMore (jid) {
|
showMore (id) {
|
||||||
if (jid === 'local') {
|
if (id === 'local') {
|
||||||
localVideoThumbnail.connectionIndicator.showMore();
|
localVideoThumbnail.connectionIndicator.showMore();
|
||||||
} else {
|
} else {
|
||||||
var remoteVideo = remoteVideos[Strophe.getResourceFromJid(jid)];
|
let remoteVideo = remoteVideos[id];
|
||||||
if (remoteVideo) {
|
if (remoteVideo) {
|
||||||
remoteVideo.connectionIndicator.showMore();
|
remoteVideo.connectionIndicator.showMore();
|
||||||
} else {
|
} else {
|
||||||
console.info("Error - no remote video for jid: " + jid);
|
console.info("Error - no remote video for id: " + id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue