({ command: { command }, count })
| 364 | } |
| 365 | |
| 366 | commandHandler({ command: { command }, count }) { |
| 367 | if (count == null) count = 1; |
| 368 | switch (typeof command) { |
| 369 | case "string": |
| 370 | for (let i = 0, end = count; i < end; i++) { |
| 371 | this.movement.runMovement(command); |
| 372 | } |
| 373 | break; |
| 374 | case "function": |
| 375 | command(count); |
| 376 | break; |
| 377 | } |
| 378 | return this.movement.scrollIntoView(); |
| 379 | } |
| 380 | |
| 381 | // find: (count, backwards) => |
| 382 | find(count, backwards) { |
nothing calls this directly
no test coverage detected