(config)
| 18036 | } |
| 18037 | |
| 18038 | function hasValidKey(config) { |
| 18039 | { |
| 18040 | if (hasOwnProperty.call(config, 'key')) { |
| 18041 | var getter = Object.getOwnPropertyDescriptor(config, 'key').get; |
| 18042 | if (getter && getter.isReactWarning) { |
| 18043 | return false; |
| 18044 | } |
| 18045 | } |
| 18046 | } |
| 18047 | return config.key !== undefined; |
| 18048 | } |
| 18049 | |
| 18050 | function defineKeyPropWarningGetter(props, displayName) { |
| 18051 | var warnAboutAccessingKey = function () { |
no outgoing calls
no test coverage detected