(name, source, ownerFn)
| 1763 | var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher; |
| 1764 | var prefix; |
| 1765 | function describeBuiltInComponentFrame(name, source, ownerFn) { |
| 1766 | { |
| 1767 | if (prefix === undefined) { |
| 1768 | // Extract the VM specific prefix used by each line. |
| 1769 | try { |
| 1770 | throw Error(); |
| 1771 | } catch (x) { |
| 1772 | var match = x.stack.trim().match(/\n( *(at )?)/); |
| 1773 | prefix = match && match[1] || ''; |
| 1774 | } |
| 1775 | } // We use the prefix to ensure our stacks line up with native stack frames. |
| 1776 | |
| 1777 | |
| 1778 | return '\n' + prefix + name; |
| 1779 | } |
| 1780 | } |
| 1781 | var reentry = false; |
| 1782 | var componentFrameCache; |
| 1783 |
no test coverage detected
searching dependent graphs…