Procházet zdrojové kódy

Remove another unused state argument

tags/v0.1.3
Fen Dweller před 6 roky
rodič
revize
b30d437274
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      game.js

+ 1
- 1
game.js Zobrazit soubor

@@ -118,7 +118,7 @@ Returns the timeout id - but you still need to cancel it through stopTimer!
*/ */
function startTimer(config) { function startTimer(config) {
const timeout = setTimeout(() => { const timeout = setTimeout(() => {
const result = config.func(state, config);
const result = config.func(config);
refresh(); refresh();


// the timer may have terminated itself! // the timer may have terminated itself!


Načítá se…
Zrušit
Uložit