Explorar el Código

auto commit

app
jfinn hace 3 años
padre
commit
5d57884d95
Se han modificado 1 ficheros con 16 adiciones y 1 borrados
  1. 16
    1
      mdev/hooks.native.js

+ 16
- 1
mdev/hooks.native.js Ver fichero

1
-window.trc_vs2 += "_hooks_"
1
+// window.trc_vs2 += "_hooks_"
2
+
3
+import { MiddlewareRegistry } from '../react/features/base/redux';
4
+
5
+// if (window.dev_middleware_listner){}
6
+
7
+MiddlewareRegistry.register(store => next => action => {
8
+	if (window.dev_middleware_listner){
9
+		setTimeout(window.dev_middleware_listner,1,{store,next,action,that:this})
10
+	}
11
+	return next(action);
12
+});
13
+
14
+
15
+
16
+

Loading…
Cancelar
Guardar