Sfoglia il codice sorgente

nooks for rmix

factor1
jfinn 3 mesi fa
parent
commit
069132bf0b
2 ha cambiato i file con 43 aggiunte e 1 eliminazioni
  1. 1
    1
      rdev/hooks/hooks.js
  2. 42
    0
      rdev/hooks/nooks.js

+ 1
- 1
rdev/hooks/hooks.js Vedi File

@@ -118,7 +118,7 @@ hook_dev()
118 118
 
119 119
 }
120 120
 */
121
-
121
+import './nooks'
122 122
 
123 123
 if (window.glob_rx){
124 124
 console.log("ONL_: GLOB_RX")

+ 42
- 0
rdev/hooks/nooks.js Vedi File

@@ -0,0 +1,42 @@
1
+console.log("jdev nooks!??? ...")
2
+import './hooks'
3
+
4
+import * as vlf_ from '../../react/features/video-layout/functions.any';
5
+import {default as vlf} from '../../react/features/video-layout/functions.any';
6
+import { LAYOUTS } from '../../react/features/video-layout/constants';
7
+import * as media_actions from '../../react/features/base/media/actions';
8
+
9
+
10
+// glob_rx.react.modules.filmstrip
11
+// import * as filmstrip from '../../react/features/filmstrip';
12
+// import * as filmstrip from '../../react/features/filmstrip/componants/web/Thumbnail';
13
+import * as Thumbnail_a from '../../react/features/filmstrip/components/web/Thumbnail';
14
+import {THUMBNAIL_TYPE} from '../../react/features/filmstrip/constants';
15
+
16
+// Thumbnail.tsx
17
+if (window.glob_rx) {
18
+
19
+if (glob_rx.react.i) {
20
+	console.log("jdev.",glob_rx.react.i.MiddlewareRegistry)
21
+	console.log("jdev.?",vlf)
22
+	glob_rx.nx = {
23
+		vlf_,vlf,
24
+LAYOUTS,
25
+Thumbnail_a,
26
+media_actions,
27
+	}
28
+	// glob_rx.nx.vlf=vlf
29
+	// glob_rx.nx.LAYOUTS=LAYOUTS
30
+glob_rx.react.modules.video_layout = {...vlf_,LAYOUTS}
31
+glob_rx.react.modules.filmstrip = {THUMBNAIL_TYPE,Thumbnail:Thumbnail_a.default}
32
+}
33
+}
34
+
35
+
36
+
37
+
38
+
39
+// glob_rx.react.modules.filmstrip.Thumbnail
40
+// glob_rx.react.modules.filmstrip.THUMBNAIL_TYPE
41
+console.log("jdev nooks!??? ...@")
42
+

Loading…
Annulla
Salva