( context, tag, data, children, normalizationType, alwaysNormalize )
| 3263 | // wrapper function for providing a more flexible interface |
| 3264 | // without getting yelled at by flow |
| 3265 | function createElement ( |
| 3266 | context, |
| 3267 | tag, |
| 3268 | data, |
| 3269 | children, |
| 3270 | normalizationType, |
| 3271 | alwaysNormalize |
| 3272 | ) { |
| 3273 | if (Array.isArray(data) || isPrimitive(data)) { |
| 3274 | normalizationType = children; |
| 3275 | children = data; |
| 3276 | data = undefined; |
| 3277 | } |
| 3278 | if (alwaysNormalize) { normalizationType = ALWAYS_NORMALIZE; } |
| 3279 | return _createElement(context, tag, data, children, normalizationType) |
| 3280 | } |
| 3281 | |
| 3282 | function _createElement ( |
| 3283 | context, |
no test coverage detected