(element, props, children)
| 2400 | return validatedFactory; |
| 2401 | } |
| 2402 | function cloneElementWithValidation(element, props, children) { |
| 2403 | var newElement = cloneElement.apply(this, arguments); |
| 2404 | |
| 2405 | for (var i = 2; i < arguments.length; i++) { |
| 2406 | validateChildKeys(arguments[i], newElement.type); |
| 2407 | } |
| 2408 | |
| 2409 | validatePropTypes(newElement); |
| 2410 | return newElement; |
| 2411 | } |
| 2412 | |
| 2413 | var enableSchedulerDebugging = false; |
| 2414 | var enableProfiling = false; |
nothing calls this directly
no test coverage detected
searching dependent graphs…