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