瀏覽代碼

Remove another unused state argument

tags/v0.1.3
Fen Dweller 5 年之前
父節點
當前提交
b30d437274
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      game.js

+ 1
- 1
game.js 查看文件

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

// the timer may have terminated itself!


Loading…
取消
儲存