(config)
| 960 | } |
| 961 | |
| 962 | function hasValidRef(config) { |
| 963 | { |
| 964 | if (hasOwnProperty.call(config, 'ref')) { |
| 965 | var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; |
| 966 | |
| 967 | if (getter && getter.isReactWarning) { |
| 968 | return false; |
| 969 | } |
| 970 | } |
| 971 | } |
| 972 | |
| 973 | return config.ref !== undefined; |
| 974 | } |
| 975 | |
| 976 | function hasValidKey(config) { |
| 977 | { |
no outgoing calls
no test coverage detected