From 1ece504bd60ac83f0c1451797a22acfa6673aa0b Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 19 Oct 2017 12:08:30 +0300 Subject: [PATCH] feature(client) log: return str --- client/client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/client.js b/client/client.js index d2292e22..ce8d5ee8 100644 --- a/client/client.js +++ b/client/client.js @@ -23,10 +23,10 @@ function CloudCmdProto(Util, DOM) { let Listeners; const log = (str) => { - if (!Debug) - return; + if (Debug) + console.log(str); - console.log(str); + return str; }; const CloudCmd = this;