From e88a120a4e273fdb412bf20716f822f1735d8d7d Mon Sep 17 00:00:00 2001 From: MIMIZA Date: Mon, 15 Jun 2020 08:40:00 +0700 Subject: [PATCH] remove console.log --- sea.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sea.js b/sea.js index 133003df..df43f647 100644 --- a/sea.js +++ b/sea.js @@ -831,7 +831,7 @@ const pair = typeof arguments[0] === 'object' && (arguments[0].pub || arguments[0].epub) ? arguments[0] : typeof arguments[1] === 'object' && (arguments[1].pub || arguments[1].epub) ? arguments[1] : null const cb = Array.prototype.slice.call(arguments).filter(arg => typeof arg === 'function')[0] || function(){} // cb now can stand anywhere, after alias/pass or pair const opt = arguments && arguments.length > 1 && typeof arguments[arguments.length-1] === 'object' ? arguments[arguments.length-1] : {} // opt is always the last parameter which typeof === 'object' and stands after cb - console.log({alias,pass,pair,cb,opt}) + var gun = this, cat = (gun._), root = gun.back(-1); if(cat.ing){