(config)
| 17908 | } |
| 17909 | |
| 17910 | function hasValidKey(config) { |
| 17911 | { |
| 17912 | if (hasOwnProperty.call(config, 'key')) { |
| 17913 | var getter = Object.getOwnPropertyDescriptor(config, 'key').get; |
| 17914 | if (getter && getter.isReactWarning) { |
| 17915 | return false; |
| 17916 | } |
| 17917 | } |
| 17918 | } |
| 17919 | return config.key !== undefined; |
| 17920 | } |
| 17921 | |
| 17922 | function defineKeyPropWarningGetter(props, displayName) { |
| 17923 | var warnAboutAccessingKey = function () { |
no outgoing calls
no test coverage detected