(element, props, children)
| 2035 | return validatedFactory; |
| 2036 | } |
| 2037 | function cloneElementWithValidation(element, props, children) { |
| 2038 | var newElement = cloneElement.apply(this, arguments); |
| 2039 | |
| 2040 | for (var i = 2; i < arguments.length; i++) { |
| 2041 | validateChildKeys(arguments[i], newElement.type); |
| 2042 | } |
| 2043 | |
| 2044 | validatePropTypes(newElement); |
| 2045 | return newElement; |
| 2046 | } |
| 2047 | |
| 2048 | var enableSchedulerDebugging = false; |
| 2049 | var enableProfiling = true; |
nothing calls this directly
no test coverage detected
searching dependent graphs…