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