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