(config)
| 18548 | } |
| 18549 | |
| 18550 | function hasValidKey(config) { |
| 18551 | { |
| 18552 | if (hasOwnProperty.call(config, 'key')) { |
| 18553 | var getter = Object.getOwnPropertyDescriptor(config, 'key').get; |
| 18554 | if (getter && getter.isReactWarning) { |
| 18555 | return false; |
| 18556 | } |
| 18557 | } |
| 18558 | } |
| 18559 | return config.key !== undefined; |
| 18560 | } |
| 18561 | |
| 18562 | function defineKeyPropWarningGetter(props, displayName) { |
| 18563 | var warnAboutAccessingKey = function () { |
no outgoing calls
no test coverage detected