|
|
|
@ -15,59 +15,50 @@ import 'aui-experimental-css'; |
|
|
|
|
|
|
|
|
|
window.toastr = require("toastr"); |
|
|
|
|
|
|
|
|
|
import conference from './conference'; |
|
|
|
|
import API from './modules/API'; |
|
|
|
|
import keyboardshortcut from './modules/keyboardshortcut/keyboardshortcut'; |
|
|
|
|
import remoteControl from "./modules/remotecontrol/RemoteControl"; |
|
|
|
|
import settings from "./modules/settings/Settings"; |
|
|
|
|
import translation from "./modules/translation/translation"; |
|
|
|
|
import UI from "./modules/UI/UI"; |
|
|
|
|
export conference from './conference'; |
|
|
|
|
export API from './modules/API'; |
|
|
|
|
export keyboardshortcut from './modules/keyboardshortcut/keyboardshortcut'; |
|
|
|
|
export remoteControl from "./modules/remotecontrol/RemoteControl"; |
|
|
|
|
export settings from "./modules/settings/Settings"; |
|
|
|
|
export translation from "./modules/translation/translation"; |
|
|
|
|
export UI from "./modules/UI/UI"; |
|
|
|
|
|
|
|
|
|
const APP = { |
|
|
|
|
API, |
|
|
|
|
conference, |
|
|
|
|
/** |
|
|
|
|
* After the APP has been initialized provides utility methods for dealing |
|
|
|
|
* with the conference room URL(address). |
|
|
|
|
* @type ConferenceUrl |
|
|
|
|
*/ |
|
|
|
|
export let ConferenceUrl = null; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* After the APP has been initialized provides utility methods for dealing |
|
|
|
|
* with the conference room URL(address). |
|
|
|
|
* @type ConferenceUrl |
|
|
|
|
*/ |
|
|
|
|
ConferenceUrl: null, |
|
|
|
|
// Used by do_external_connect.js if we receive the attach data after
|
|
|
|
|
// connect was already executed. status property can be "initialized",
|
|
|
|
|
// "ready" or "connecting". We are interested in "ready" status only which
|
|
|
|
|
// means that connect was executed but we have to wait for the attach data.
|
|
|
|
|
// In status "ready" handler property will be set to a function that will
|
|
|
|
|
// finish the connect process when the attach data or error is received.
|
|
|
|
|
export const connect = { |
|
|
|
|
status: "initialized", |
|
|
|
|
handler: null |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// Used by do_external_connect.js if we receive the attach data after
|
|
|
|
|
// connect was already executed. status property can be "initialized",
|
|
|
|
|
// "ready" or "connecting". We are interested in "ready" status only which
|
|
|
|
|
// means that connect was executed but we have to wait for the attach data.
|
|
|
|
|
// In status "ready" handler property will be set to a function that will
|
|
|
|
|
// finish the connect process when the attach data or error is received.
|
|
|
|
|
connect: { |
|
|
|
|
status: "initialized", |
|
|
|
|
handler: null |
|
|
|
|
}, |
|
|
|
|
connection: null, |
|
|
|
|
export let connection = null; |
|
|
|
|
|
|
|
|
|
// Used for automated performance tests
|
|
|
|
|
connectionTimes: { |
|
|
|
|
"index.loaded": window.indexLoadedTime |
|
|
|
|
}, |
|
|
|
|
keyboardshortcut, |
|
|
|
|
// Used for automated performance tests
|
|
|
|
|
export const connectionTimes = { |
|
|
|
|
"index.loaded": window.indexLoadedTime |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* The log collector which captures JS console logs for this app. |
|
|
|
|
* @type {LogCollector} |
|
|
|
|
*/ |
|
|
|
|
logCollector: null, |
|
|
|
|
/** |
|
|
|
|
* The log collector which captures JS console logs for this app. |
|
|
|
|
* @type {LogCollector} |
|
|
|
|
*/ |
|
|
|
|
export let logCollector = null; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Indicates if the log collector has been started (it will not be started |
|
|
|
|
* if the welcome page is displayed). |
|
|
|
|
*/ |
|
|
|
|
logCollectorStarted : false, |
|
|
|
|
remoteControl, |
|
|
|
|
settings, |
|
|
|
|
translation, |
|
|
|
|
UI |
|
|
|
|
}; |
|
|
|
|
/** |
|
|
|
|
* Indicates if the log collector has been started (it will not be started |
|
|
|
|
* if the welcome page is displayed). |
|
|
|
|
*/ |
|
|
|
|
export let logCollectorStarted = false; |
|
|
|
|
|
|
|
|
|
// TODO The execution of the mobile app starts from react/index.native.js.
|
|
|
|
|
// Similarly, the execution of the Web app should start from react/index.web.js
|
|
|
|
@ -76,5 +67,3 @@ const APP = { |
|
|
|
|
// the execution of the Web app to start from app.js in order to reduce the
|
|
|
|
|
// complexity of the beginning step.
|
|
|
|
|
import './react'; |
|
|
|
|
|
|
|
|
|
module.exports = APP; |
|
|
|
|