(context, tag, data, children, normalizationType, alwaysNormalize)
| 4132 | // wrapper function for providing a more flexible interface |
| 4133 | // without getting yelled at by flow |
| 4134 | function createElement(context, tag, data, children, normalizationType, alwaysNormalize) { |
| 4135 | if (Array.isArray(data) || isPrimitive(data)) { |
| 4136 | normalizationType = children; |
| 4137 | children = data; |
| 4138 | data = undefined; |
| 4139 | } |
| 4140 | if (isTrue(alwaysNormalize)) { |
| 4141 | normalizationType = ALWAYS_NORMALIZE; |
| 4142 | } |
| 4143 | return _createElement(context, tag, data, children, normalizationType); |
| 4144 | } |
| 4145 | |
| 4146 | function _createElement(context, tag, data, children, normalizationType) { |
| 4147 | if (isDef(data) && isDef(data.__ob__)) { |
no test coverage detected