Fix build system.

This commit is contained in:
2019-01-26 16:46:36 +01:00
parent 5276790afe
commit faba9b36cb
7 changed files with 57 additions and 23 deletions

View File

@ -694,7 +694,7 @@ ComunicWeb.components.calls.callWindow = {
call.signalClient.sendSignal(member.user_call_id, JSON.stringify(data));
});
peer.on("message", message => {
peer.on("message", function(message){
console.log("Message from remote peer: " + message);
});
@ -788,7 +788,7 @@ ComunicWeb.components.calls.callWindow = {
/**
* @type {HTMLVideoElement}
*/
let video = createElem2({
var video = createElem2({
appendTo: call.window.videosTarget,
type: "video"
});

View File

@ -94,7 +94,7 @@ ComunicWeb.components.calls.controller = {
*
* @return Cached calls configuration
*/
getConfig() {
getConfig: function() {
return ComunicWeb.components.calls.__config;
},

View File

@ -42,7 +42,7 @@ ComunicWeb.components.calls.currentList = {
* @param {number} id The ID of the call to add
*/
addCallToList: function(id){
let list = this.getCurrentCallsList();
var list = this.getCurrentCallsList();
if(!list.includes(""+id))
list.push(id);
@ -57,7 +57,7 @@ ComunicWeb.components.calls.currentList = {
*/
removeCallFromList: function(id){
let list = this.getCurrentCallsList();
var list = this.getCurrentCallsList();
while(list.includes(""+id))
list.splice(list.indexOf(""+id), 1);