Browse
For agents
About
JetFormBuilder — Dynamic Blocks Form Builder
/
3.1.5
JetFormBuilder — Dynamic Blocks Form Builder
v3.1.5
Switch version
3.6.5.2
3.6.5.1
3.6.5
3.6.4.2
3.6.4.1
3.6.4
3.6.3.1
3.6.3
3.6.2.2
3.6.2.1
3.6.2
3.6.1.1
3.6.1
3.6.0.1
trunk
1.0.0
1.0.1
1.0.2
1.0.3
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
All 130 releases
Overview
Code
jetformbuilder
/
assets
/
src
/
package
/
actions
/
store
/
reducer.js
reducer.js
12 lines
281 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
import
dispatchers
from
'
./dispatchers
'
;
2
import
DEFAULT_STATE
from
'
./default.state
'
;
3
4
export
default
function
(
state
=
DEFAULT_STATE
,
action
)
{
5
const
callback
=
dispatchers
[
action
?.
type
]
;
6
7
if
(
callback
)
{
8
return
callback
(
state
,
action
)
;
9
}
10
11
return
state
;
12
}