(config)
| 1608 | } |
| 1609 | |
| 1610 | function hasValidKey(config) { |
| 1611 | { |
| 1612 | if (hasOwnProperty.call(config, 'key')) { |
| 1613 | var getter = Object.getOwnPropertyDescriptor(config, 'key').get; |
| 1614 | if (getter && getter.isReactWarning) { |
| 1615 | return false; |
| 1616 | } |
| 1617 | } |
| 1618 | } |
| 1619 | return config.key !== undefined; |
| 1620 | } |
| 1621 | |
| 1622 | function defineKeyPropWarningGetter(props, displayName) { |
| 1623 | var warnAboutAccessingKey = function warnAboutAccessingKey() { |