From 0e12682a339f2d55d7edb521e0716f9e936fea46 Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Thu, 30 Sep 2021 09:07:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/classes/main.js | 1 - src/test.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/main.js b/src/classes/main.js index 9d9d4ae..962589c 100644 --- a/src/classes/main.js +++ b/src/classes/main.js @@ -56,7 +56,6 @@ Main.prototype.play = function (direction) { this.times = this.max; this.endCallback(); } - console.log('this.times: ', this.times); }; /** diff --git a/src/test.js b/src/test.js index 4533228..00ca2bc 100644 --- a/src/test.js +++ b/src/test.js @@ -51,6 +51,7 @@ function addHash() { function test() { document.addEventListener('click', () => { + if (isDemo) return; main.play(0); }); }