|
|
@@ -14,7 +14,7 @@ MiddlewareRegistry.register(store => next => action => {
|
|
14
|
14
|
|
|
15
|
15
|
MiddlewareRegistry.register(store => next => action => {
|
|
16
|
16
|
if (window.dev_middleware_listner_sync){
|
|
17
|
|
-
|
|
|
17
|
+
|
|
18
|
18
|
window.dev_middleware_listner_sync({store,next,action,that:this})
|
|
19
|
19
|
|
|
20
|
20
|
}
|
|
|
@@ -24,6 +24,24 @@ MiddlewareRegistry.register(store => next => action => {
|
|
24
|
24
|
return next(action);
|
|
25
|
25
|
|
|
26
|
26
|
|
|
|
27
|
+});
|
|
|
28
|
+
|
|
|
29
|
+}
|
|
|
30
|
+
|
|
|
31
|
+
|
|
|
32
|
+
|
|
|
33
|
+MiddlewareRegistry.register(store => next => action => {
|
|
|
34
|
+ if (window.dev_middleware_listner_sync2){
|
|
|
35
|
+
|
|
|
36
|
+ window.dev_middleware_listner_sync2({store,next,action,that:this})
|
|
|
37
|
+
|
|
|
38
|
+ }
|
|
|
39
|
+ // setTimeout(window.dev_middleware_listner,1,{store,next,action,that:this})
|
|
|
40
|
+
|
|
|
41
|
+
|
|
|
42
|
+ return next(action);
|
|
|
43
|
+
|
|
|
44
|
+
|
|
27
|
45
|
});
|
|
28
|
46
|
|
|
29
|
47
|
}
|