mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1050314 Loop standalone client is broken in Chrome due to use of ES6 functions. r=dmose
This commit is contained in:
parent
2311022dde
commit
de29cc5e29
@ -285,7 +285,7 @@ loop.webapp = (function($, _, OT, webL10n) {
|
||||
// XXX For now, we assume both audio and video as there is no
|
||||
// other option to select (bug 1048333)
|
||||
this._client.requestCallInfo(this._conversation.get("loopToken"), "audio-video",
|
||||
(err, sessionData) => {
|
||||
function(err, sessionData) {
|
||||
if (err) {
|
||||
switch (err.errno) {
|
||||
// loop-server sends 404 + INVALID_TOKEN (errno 105) whenever a token is
|
||||
@ -302,7 +302,7 @@ loop.webapp = (function($, _, OT, webL10n) {
|
||||
return;
|
||||
}
|
||||
this._conversation.outgoing(sessionData);
|
||||
});
|
||||
}.bind(this));
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -285,7 +285,7 @@ loop.webapp = (function($, _, OT, webL10n) {
|
||||
// XXX For now, we assume both audio and video as there is no
|
||||
// other option to select (bug 1048333)
|
||||
this._client.requestCallInfo(this._conversation.get("loopToken"), "audio-video",
|
||||
(err, sessionData) => {
|
||||
function(err, sessionData) {
|
||||
if (err) {
|
||||
switch (err.errno) {
|
||||
// loop-server sends 404 + INVALID_TOKEN (errno 105) whenever a token is
|
||||
@ -302,7 +302,7 @@ loop.webapp = (function($, _, OT, webL10n) {
|
||||
return;
|
||||
}
|
||||
this._conversation.outgoing(sessionData);
|
||||
});
|
||||
}.bind(this));
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user