mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Fixed error "Gun.log.once is not a function".
This commit is contained in:
parent
f759ab1394
commit
0d53db7877
@ -74,4 +74,5 @@ Gun.log = console.STAT = function(a,b,c,d){
|
||||
}
|
||||
if(!console.LOG || log.off){ return a }
|
||||
return log.apply(Gun, arguments);
|
||||
}
|
||||
}
|
||||
Gun.log.once = function(w,s,o){ return (o = Gun.log.once)[w] = o[w] || 0, o[w]++ || Gun.log(s) };
|
||||
|
Loading…
x
Reference in New Issue
Block a user