|
@@ -15,28 +15,39 @@ import 'aui-experimental-css';
|
15
|
15
|
|
16
|
16
|
window.toastr = require('toastr');
|
17
|
17
|
|
18
|
|
-export conference from './conference';
|
19
|
|
-export API from './modules/API';
|
20
|
|
-export keyboardshortcut from './modules/keyboardshortcut/keyboardshortcut';
|
21
|
|
-export remoteControl from './modules/remotecontrol/RemoteControl';
|
22
|
|
-export settings from './modules/settings/Settings';
|
23
|
|
-export translation from './modules/translation/translation';
|
24
|
|
-export UI from './modules/UI/UI';
|
25
|
|
-
|
26
|
|
-// Used by do_external_connect.js if we receive the attach data after connect
|
27
|
|
-// was already executed. status property can be 'initialized', 'ready', or
|
28
|
|
-// 'connecting'. We are interested in 'ready' status only which means that
|
29
|
|
-// connect was executed but we have to wait for the attach data. In status
|
30
|
|
-// 'ready' handler property will be set to a function that will finish the
|
31
|
|
-// connect process when the attach data or error is received.
|
32
|
|
-export const connect = {
|
33
|
|
- handler: null,
|
34
|
|
- status: 'initialized'
|
35
|
|
-};
|
|
18
|
+import conference from './conference';
|
|
19
|
+import API from './modules/API';
|
|
20
|
+import keyboardshortcut from './modules/keyboardshortcut/keyboardshortcut';
|
|
21
|
+import remoteControl from './modules/remotecontrol/RemoteControl';
|
|
22
|
+import settings from './modules/settings/Settings';
|
|
23
|
+import translation from './modules/translation/translation';
|
|
24
|
+import UI from './modules/UI/UI';
|
|
25
|
+
|
|
26
|
+window.APP = {
|
|
27
|
+ API,
|
|
28
|
+ conference,
|
|
29
|
+
|
|
30
|
+ // Used by do_external_connect.js if we receive the attach data after
|
|
31
|
+ // connect was already executed. status property can be 'initialized',
|
|
32
|
+ // 'ready', or 'connecting'. We are interested in 'ready' status only which
|
|
33
|
+ // means that connect was executed but we have to wait for the attach data.
|
|
34
|
+ // In status 'ready' handler property will be set to a function that will
|
|
35
|
+ // finish the connect process when the attach data or error is received.
|
|
36
|
+ connect: {
|
|
37
|
+ handler: null,
|
|
38
|
+ status: 'initialized'
|
|
39
|
+ },
|
|
40
|
+
|
|
41
|
+ // Used for automated performance tests.
|
|
42
|
+ connectionTimes: {
|
|
43
|
+ 'index.loaded': window.indexLoadedTime
|
|
44
|
+ },
|
36
|
45
|
|
37
|
|
-// Used for automated performance tests
|
38
|
|
-export const connectionTimes = {
|
39
|
|
- 'index.loaded': window.indexLoadedTime
|
|
46
|
+ keyboardshortcut,
|
|
47
|
+ remoteControl,
|
|
48
|
+ settings,
|
|
49
|
+ translation,
|
|
50
|
+ UI
|
40
|
51
|
};
|
41
|
52
|
|
42
|
53
|
// TODO The execution of the mobile app starts from react/index.native.js.
|