From c39d0802ac1d797ada96885cb41b5e97ba051a7a Mon Sep 17 00:00:00 2001 From: kuangshen04 <2832899707@qq.com> Date: Mon, 25 Sep 2023 20:34:29 +0800 Subject: [PATCH] =?UTF-8?q?eslintrc.extends=E6=94=B9=E4=B8=BA=E4=BA=86chro?= =?UTF-8?q?me=2046?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.json | 2 +- game/game.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]){