(config)
| 628 | } |
| 629 | |
| 630 | function hasValidKey(config) { |
| 631 | { |
| 632 | if (hasOwnProperty.call(config, 'key')) { |
| 633 | var getter = Object.getOwnPropertyDescriptor(config, 'key').get; |
| 634 | |
| 635 | if (getter && getter.isReactWarning) { |
| 636 | return false; |
| 637 | } |
| 638 | } |
| 639 | } |
| 640 | |
| 641 | return config.key !== undefined; |
| 642 | } |
| 643 | |
| 644 | function defineKeyPropWarningGetter(props, displayName) { |
| 645 | var warnAboutAccessingKey = function () { |
no outgoing calls
no test coverage detected
searching dependent graphs…