(content, maxLength)
| 20528 | } |
| 20529 | } |
| 20530 | function describeTextNode(content, maxLength) { |
| 20531 | return needsEscaping.test(content) |
| 20532 | ? ((content = JSON.stringify(content)), |
| 20533 | content.length > maxLength - 2 |
| 20534 | ? 8 > maxLength |
| 20535 | ? '{"..."}' |
| 20536 | : "{" + content.slice(0, maxLength - 7) + '..."}' |
| 20537 | : "{" + content + "}") |
| 20538 | : content.length > maxLength |
| 20539 | ? 5 > maxLength |
| 20540 | ? '{"..."}' |
| 20541 | : content.slice(0, maxLength - 3) + "..." |
| 20542 | : content; |
| 20543 | } |
| 20544 | function describeTextDiff(clientText, serverProps, indent) { |
| 20545 | var maxLength = 120 - 2 * indent; |
| 20546 | if (null === serverProps) |
no outgoing calls
no test coverage detected
searching dependent graphs…