()
| 379 | this.rewindTo(this.rewind_index + 1) |
| 380 | } |
| 381 | redo() { |
| 382 | this.rewindTo(this.rewind_index - 1) |
| 383 | } |
| 384 | rewindTo(new_rewind_index) { |
| 385 | if (new_rewind_index < 0 || new_rewind_index > this.events.length) { |
| 386 | return // do nothing if target index is out of bounds |
no test coverage detected