mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
remove redundant return statement (#1394)
* comment out redundant return; * remove redundant return
This commit is contained in:
parent
e3a5a52506
commit
0c423c999c
1
gun.js
1
gun.js
@ -1212,7 +1212,6 @@
|
|||||||
//if(!map || !(tmp = map[at]) || !(tmp = tmp.at)){ return }
|
//if(!map || !(tmp = map[at]) || !(tmp = tmp.at)){ return }
|
||||||
if(tmp = (seen = this.seen || (this.seen = {}))[at]){ return true }
|
if(tmp = (seen = this.seen || (this.seen = {}))[at]){ return true }
|
||||||
seen[at] = true;
|
seen[at] = true;
|
||||||
return;
|
|
||||||
//tmp.echo[cat.id] = {}; // TODO: Warning: This unsubscribes ALL of this chain's listeners from this link, not just the one callback event.
|
//tmp.echo[cat.id] = {}; // TODO: Warning: This unsubscribes ALL of this chain's listeners from this link, not just the one callback event.
|
||||||
//obj.del(map, at); // TODO: Warning: This unsubscribes ALL of this chain's listeners from this link, not just the one callback event.
|
//obj.del(map, at); // TODO: Warning: This unsubscribes ALL of this chain's listeners from this link, not just the one callback event.
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user