(t)
| 69 | this.intro = t + this.intro; |
| 70 | } |
| 71 | split(t) { |
| 72 | const e = t - this.start, |
| 73 | n = this.original.slice(0, e), |
| 74 | i = this.original.slice(e); |
| 75 | this.original = n; |
| 76 | const r = new g(t, this.end, i); |
| 77 | return ( |
| 78 | (r.outro = this.outro), |
| 79 | (this.outro = ''), |
| 80 | (this.end = t), |
| 81 | this.edited ? (r.edit('', !1), (this.content = '')) : (this.content = n), |
| 82 | (r.next = this.next), |
| 83 | r.next && (r.next.previous = r), |
| 84 | (r.previous = this), |
| 85 | (this.next = r), |
| 86 | r |
| 87 | ); |
| 88 | } |
| 89 | toString() { |
| 90 | return this.intro + this.content + this.outro; |
| 91 | } |
no test coverage detected