Partially prepare for eslint-plugin-flowtype 2.37.0
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
/* global JitsiMeetJS */
|
||||
|
||||
import 'aui-css';
|
||||
import 'aui-experimental-css';
|
||||
|
||||
import DeviceSelectionPopup from './DeviceSelectionPopup';
|
||||
|
||||
declare var JitsiMeetJS: Object;
|
||||
|
||||
let deviceSelectionPopup;
|
||||
|
||||
window.init = function(i18next) {
|
||||
window.init = i18next => {
|
||||
JitsiMeetJS.init({}).then(() => {
|
||||
deviceSelectionPopup = new DeviceSelectionPopup(i18next);
|
||||
});
|
||||
};
|
||||
|
||||
window.addEventListener('beforeunload', () =>
|
||||
deviceSelectionPopup.close());
|
||||
window.addEventListener('beforeunload', () => deviceSelectionPopup.close());
|
||||
|
||||
Reference in New Issue
Block a user