deps: update jquery version (#2441)

* deps: update jquery version

* squash: resize thumbnails after appending shared thumb

This forces jquery animate to show the thumbnail somehow...
Remote thumbnails basically work this way (append to filmstrip
and then resize filmstrip thumbnails) so I just copied that
implementation. ... So I admit I lost this fight because
even after looking at jquery I couldn't understand why
it doesn't work on the first resize but does on the second.
Plus I'm being put on a strict timebox to update jquery.

* squash: getJSON no longer supports .success
This commit is contained in:
Saúl Ibarra Corretgé 2018-03-03 04:20:47 +01:00 committed by Дамян Минков
parent e05f2a9027
commit 8b35ea8ad5
5 changed files with 11 additions and 10 deletions

View File

@ -282,6 +282,7 @@ export default class SharedVideoManager {
thumb.setDisplayName('YouTube');
VideoLayout.addRemoteVideoContainer(self.url, thumb);
VideoLayout.resizeThumbnails(false, true);
const iframe = player.getIframe();

8
package-lock.json generated
View File

@ -1160,7 +1160,7 @@
"resolved": "https://registry.npmjs.org/autosize/-/autosize-1.18.13.tgz",
"integrity": "sha1-7ljP8O2dzVDB/xB+culUAxyRl78=",
"requires": {
"jquery": "2.1.4"
"jquery": "3.3.1"
}
},
"aws-sign2": {
@ -6980,9 +6980,9 @@
"version": "github:jitsi/jitsi-meet-logger#6fff754a77a56ab52499f3559105a15886942a1e"
},
"jquery": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-2.1.4.tgz",
"integrity": "sha1-IoveaYoMYUMdwmMKahVPFYkNIxc="
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.3.1.tgz",
"integrity": "sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg=="
},
"jquery-contextmenu": {
"version": "2.4.5",

View File

@ -39,7 +39,7 @@
"i18next-xhr-backend": "1.4.2",
"jQuery-Impromptu": "github:trentrichardson/jQuery-Impromptu#v6.0.0",
"jitsi-meet-logger": "github:jitsi/jitsi-meet-logger#6fff754a77a56ab52499f3559105a15886942a1e",
"jquery": "2.1.4",
"jquery": "3.3.1",
"jquery-contextmenu": "2.4.5",
"jquery-i18next": "1.2.0",
"js-md5": "0.6.1",

View File

@ -61,12 +61,12 @@ export function checkDialNumber(dialNumber: string) {
const fullUrl = `${dialOutAuthUrl}?phone=${dialNumber}`;
$.getJSON(fullUrl)
.success(response =>
.then(response =>
dispatch({
type: PHONE_NUMBER_CHECKED,
response
}))
.error(error =>
.catch(error =>
dispatch({
type: DIAL_OUT_SERVICE_FAILED,
error
@ -88,12 +88,12 @@ export function updateDialOutCodes() {
}
$.getJSON(dialOutCodesUrl)
.success(response =>
.then(response =>
dispatch({
type: DIAL_OUT_CODES_UPDATED,
response
}))
.error(error =>
.catch(error =>
dispatch({
type: DIAL_OUT_SERVICE_FAILED,
error

View File

@ -83,6 +83,6 @@ export function searchDirectory( // eslint-disable-line max-params
`${serviceUrl}?query=${encodeURIComponent(text)}&queryTypes=${
queryTypesString}&jwt=${jwt}`,
resolve)
.fail((jqxhr, textStatus, error) => reject(error));
.catch((jqxhr, textStatus, error) => reject(error));
});
}