mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
radix empty end should be infinite
This commit is contained in:
parent
4b247628e7
commit
1abcfe0c83
@ -65,7 +65,7 @@
|
||||
p = pre.slice(); p.push(key);
|
||||
pt = p.join('');
|
||||
if(u !== start && pt < (start||'').slice(0,pt.length)){ continue }
|
||||
if(u !== end && end < pt){ continue }
|
||||
if(u !== end && (end || '\uffff') < pt){ continue }
|
||||
if(u !== (tmp = tree[''])){
|
||||
tmp = cb(tmp, pt, key, pre);
|
||||
if(u !== tmp){ return tmp }
|
||||
|
Loading…
x
Reference in New Issue
Block a user