mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Merge pull request #961 from diatche/log-once-fix
Fixed missing Gun.log.once function
This commit is contained in:
commit
7c45ddb558
@ -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