(methodName, info)
| 594 | "production" !== 'development' && |
| 595 | (function () { |
| 596 | function defineDeprecationWarning(methodName, info) { |
| 597 | Object.defineProperty(Component.prototype, methodName, { |
| 598 | get: function () { |
| 599 | console.warn( |
| 600 | "%s(...) is deprecated in plain JavaScript React classes. %s", |
| 601 | info[0], |
| 602 | info[1] |
| 603 | ); |
| 604 | } |
| 605 | }); |
| 606 | } |
| 607 | function getIteratorFn(maybeIterable) { |
| 608 | if (null === maybeIterable || "object" !== typeof maybeIterable) |
| 609 | return null; |
no outgoing calls
no test coverage detected
searching dependent graphs…