(config)
| 614 | } |
| 615 | |
| 616 | function hasValidRef(config) { |
| 617 | { |
| 618 | if (hasOwnProperty.call(config, 'ref')) { |
| 619 | var getter = Object.getOwnPropertyDescriptor(config, 'ref').get; |
| 620 | |
| 621 | if (getter && getter.isReactWarning) { |
| 622 | return false; |
| 623 | } |
| 624 | } |
| 625 | } |
| 626 | |
| 627 | return config.ref !== undefined; |
| 628 | } |
| 629 | |
| 630 | function hasValidKey(config) { |
| 631 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…