(config)
| 20019 | } |
| 20020 | |
| 20021 | function hasValidKey(config) { |
| 20022 | { |
| 20023 | if (hasOwnProperty.call(config, 'key')) { |
| 20024 | var getter = Object.getOwnPropertyDescriptor(config, 'key').get; |
| 20025 | if (getter && getter.isReactWarning) { |
| 20026 | return false; |
| 20027 | } |
| 20028 | } |
| 20029 | } |
| 20030 | return config.key !== undefined; |
| 20031 | } |
| 20032 | |
| 20033 | function defineKeyPropWarningGetter(props, displayName) { |
| 20034 | var warnAboutAccessingKey = function () { |
no outgoing calls
no test coverage detected