()
| 708 | return str + this.outro; |
| 709 | } |
| 710 | isEmpty() { |
| 711 | let chunk = this.firstChunk; |
| 712 | do { |
| 713 | if ( |
| 714 | (chunk.intro.length && chunk.intro.trim()) || |
| 715 | (chunk.content.length && chunk.content.trim()) || |
| 716 | (chunk.outro.length && chunk.outro.trim()) |
| 717 | ) |
| 718 | return false; |
| 719 | } while ((chunk = chunk.next)); |
| 720 | return true; |
| 721 | } |
| 722 | length() { |
| 723 | let chunk = this.firstChunk; |
| 724 | let length = 0; |