(config)
| 18669 | } |
| 18670 | |
| 18671 | function hasValidKey(config) { |
| 18672 | { |
| 18673 | if (hasOwnProperty.call(config, 'key')) { |
| 18674 | var getter = Object.getOwnPropertyDescriptor(config, 'key').get; |
| 18675 | if (getter && getter.isReactWarning) { |
| 18676 | return false; |
| 18677 | } |
| 18678 | } |
| 18679 | } |
| 18680 | return config.key !== undefined; |
| 18681 | } |
| 18682 | |
| 18683 | function defineKeyPropWarningGetter(props, displayName) { |
| 18684 | var warnAboutAccessingKey = function () { |
no outgoing calls
no test coverage detected