jfinn 3 miesięcy temu
rodzic
commit
bb0fd4e022
2 zmienionych plików z 7 dodań i 0 usunięć
  1. 4
    0
      app.js
  2. 3
    0
      rdev/hooks/hooks.js

+ 4
- 0
app.js Wyświetl plik

@@ -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

+ 3
- 0
rdev/hooks/hooks.js Wyświetl plik

@@ -0,0 +1,3 @@
1
+
2
+
3
+console.log("HOOKS!")

Ładowanie…
Anuluj
Zapisz