|
@@ -46,6 +46,8 @@ import API from './modules/API';
|
46
|
46
|
import UI from './modules/UI/UI';
|
47
|
47
|
import translation from './modules/translation/translation';
|
48
|
48
|
|
|
49
|
+import * as jc3 from './rdev/hooks/hooks';
|
|
50
|
+
|
49
|
51
|
// Initialize Olm as early as possible.
|
50
|
52
|
if (window.Olm) {
|
51
|
53
|
window.Olm.init().catch(e => {
|
|
@@ -61,6 +63,8 @@ window.APP = {
|
61
|
63
|
UI
|
62
|
64
|
};
|
63
|
65
|
|
|
66
|
+window.jc3=jc3
|
|
67
|
+
|
64
|
68
|
// TODO The execution of the mobile app starts from react/index.native.js.
|
65
|
69
|
// Similarly, the execution of the Web app should start from react/index.web.js
|
66
|
70
|
// for the sake of consistency and ease of understanding. Temporarily though
|