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