remove console.log

This commit is contained in:
MIMIZA 2020-06-15 08:40:00 +07:00
parent 486184e767
commit e88a120a4e

2
sea.js
View File

@ -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){