(config)
| 17999 | } |
| 18000 | |
| 18001 | function hasValidKey(config) { |
| 18002 | { |
| 18003 | if (hasOwnProperty.call(config, 'key')) { |
| 18004 | var getter = Object.getOwnPropertyDescriptor(config, 'key').get; |
| 18005 | if (getter && getter.isReactWarning) { |
| 18006 | return false; |
| 18007 | } |
| 18008 | } |
| 18009 | } |
| 18010 | return config.key !== undefined; |
| 18011 | } |
| 18012 | |
| 18013 | function defineKeyPropWarningGetter(props, displayName) { |
| 18014 | var warnAboutAccessingKey = function () { |
no outgoing calls
no test coverage detected