()
| 72 | } |
| 73 | |
| 74 | startSimulating () { |
| 75 | this.simulationPageRefreshTimeout = _.delay(this.refreshAndContinueSimulating, 10 * 60 * 1000) |
| 76 | this.simulateNextGame() |
| 77 | $('#simulate-button').prop('disabled', true) |
| 78 | return $('#simulate-button').text('Simulating...') |
| 79 | } |
| 80 | |
| 81 | refreshAndContinueSimulating () { |
| 82 | // We refresh the page every now and again to make sure simulations haven't gotten derailed by bogus games, and that simulators don't hang on to old, stale code or data. |
no test coverage detected