2013-12-16 11:22:23 +00:00
|
|
|
/* application specific logic */
|
2014-05-12 09:56:33 +00:00
|
|
|
|
2017-06-14 20:13:25 +00:00
|
|
|
import 'jquery';
|
|
|
|
import 'jquery-contextmenu';
|
|
|
|
import 'jquery-ui';
|
|
|
|
import 'strophe';
|
|
|
|
import 'strophe-disco';
|
|
|
|
import 'jQuery-Impromptu';
|
|
|
|
import 'autosize';
|
2016-09-16 03:22:56 +00:00
|
|
|
|
|
|
|
import 'aui';
|
|
|
|
import 'aui-experimental';
|
|
|
|
import 'aui-css';
|
|
|
|
import 'aui-experimental-css';
|
|
|
|
|
2017-06-14 20:13:25 +00:00
|
|
|
window.toastr = require('toastr');
|
2015-09-10 17:15:56 +00:00
|
|
|
|
2017-06-14 18:13:41 +00:00
|
|
|
export conference from './conference';
|
|
|
|
export API from './modules/API';
|
|
|
|
export keyboardshortcut from './modules/keyboardshortcut/keyboardshortcut';
|
2017-06-14 20:13:25 +00:00
|
|
|
export remoteControl from './modules/remotecontrol/RemoteControl';
|
|
|
|
export settings from './modules/settings/Settings';
|
|
|
|
export translation from './modules/translation/translation';
|
|
|
|
export UI from './modules/UI/UI';
|
|
|
|
|
|
|
|
// 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.
|
2017-06-14 18:13:41 +00:00
|
|
|
export const connect = {
|
2017-06-14 20:13:25 +00:00
|
|
|
handler: null,
|
|
|
|
status: 'initialized'
|
2017-06-14 18:13:41 +00:00
|
|
|
};
|
2017-05-26 22:11:33 +00:00
|
|
|
|
2017-06-14 18:13:41 +00:00
|
|
|
// Used for automated performance tests
|
|
|
|
export const connectionTimes = {
|
2017-06-14 20:13:25 +00:00
|
|
|
'index.loaded': window.indexLoadedTime
|
2017-06-14 18:13:41 +00:00
|
|
|
};
|
2017-05-26 22:11:33 +00:00
|
|
|
|
2016-12-14 10:32:36 +00:00
|
|
|
// TODO The execution of the mobile app starts from react/index.native.js.
|
2017-01-10 19:06:18 +00:00
|
|
|
// Similarly, the execution of the Web app should start from react/index.web.js
|
|
|
|
// for the sake of consistency and ease of understanding. Temporarily though
|
|
|
|
// because we are at the beginning of introducing React into the Web app, allow
|
|
|
|
// the execution of the Web app to start from app.js in order to reduce the
|
|
|
|
// complexity of the beginning step.
|
2017-05-26 22:11:33 +00:00
|
|
|
import './react';
|