(value, maxLength)
| 20630 | } |
| 20631 | } |
| 20632 | function describePropValue(value, maxLength) { |
| 20633 | return "string" !== typeof value || needsEscaping.test(value) |
| 20634 | ? "{" + describeValue(value, maxLength - 2) + "}" |
| 20635 | : value.length > maxLength - 2 |
| 20636 | ? 5 > maxLength |
| 20637 | ? '"..."' |
| 20638 | : '"' + value.slice(0, maxLength - 5) + '..."' |
| 20639 | : '"' + value + '"'; |
| 20640 | } |
| 20641 | function describeExpandedElement(type, props, rowPrefix) { |
| 20642 | var remainingRowLength = 120 - rowPrefix.length - type.length, |
| 20643 | properties = [], |
no test coverage detected
searching dependent graphs…