mirror of
https://github.com/amark/gun.git
synced 2025-06-20 13:06:39 +00:00
more tests passing! :D :)
This commit is contained in:
parent
a128892f0a
commit
359d90e57a
3
gun.js
3
gun.js
@ -283,8 +283,8 @@
|
|||||||
if(msg['@'] && !msg.put){ ack(msg) }
|
if(msg['@'] && !msg.put){ ack(msg) }
|
||||||
if(!at.ask(msg['@'], msg)){ // is this machine listening for an ack?
|
if(!at.ask(msg['@'], msg)){ // is this machine listening for an ack?
|
||||||
DBG && (DBG.u = +new Date);
|
DBG && (DBG.u = +new Date);
|
||||||
|
if(msg.put){ put(msg); return } else
|
||||||
if(msg.get){ Gun.on._get(msg, gun) }
|
if(msg.get){ Gun.on._get(msg, gun) }
|
||||||
if(msg.put){ put(msg); return }
|
|
||||||
}
|
}
|
||||||
DBG && (DBG.uc = +new Date);
|
DBG && (DBG.uc = +new Date);
|
||||||
eve.to.next(msg);
|
eve.to.next(msg);
|
||||||
@ -661,6 +661,7 @@
|
|||||||
cat.put = root.$.get(tmp)._.put || cat.put; // but if link, update to linked cache.
|
cat.put = root.$.get(tmp)._.put || cat.put; // but if link, update to linked cache.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
msg.get = msg.get || key;
|
||||||
}
|
}
|
||||||
if(cat.soul && at === cat){ // (1) we're a root node chain.
|
if(cat.soul && at === cat){ // (1) we're a root node chain.
|
||||||
} else
|
} else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user