diff --git a/.eslintrc.json b/.eslintrc.json index 4bff91aa8..8d79549ec 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,5 @@ { - "extends": "eslint:recommended", + "extends": "chrome 46", "env": { "browser": true, "node": true, diff --git a/game/game.js b/game/game.js index ffee25074..3616114dc 100644 --- a/game/game.js +++ b/game/game.js @@ -34139,7 +34139,7 @@ } } var history=[]; - for(;;){//可以嵌套引用了 + while(true){//可以嵌套引用了 if(history.includes(audioname)) break; history.push(audioname); if(typeof audioinfo=='string'&&lib.skill[audioinfo]){