mirror of
https://github.com/amark/gun.git
synced 2025-06-06 14:16:44 +00:00
Change mesh to _.
This commit is contained in:
parent
b4f760f1b5
commit
16a34c1d0c
@ -4,7 +4,7 @@
|
|||||||
/// Store the subscribes
|
/// Store the subscribes
|
||||||
Gun.subscribe = {}; /// TODO: use Rad instead of plain object?
|
Gun.subscribe = {}; /// TODO: use Rad instead of plain object?
|
||||||
function input(msg){
|
function input(msg){
|
||||||
var at = this.as, to = this.to, peer = (msg.mesh||empty).via;
|
var at = this.as, to = this.to, peer = (msg._||empty).via;
|
||||||
var get = msg.get, soul, key;
|
var get = msg.get, soul, key;
|
||||||
if(!peer || !get){ return to.next(msg) }
|
if(!peer || !get){ return to.next(msg) }
|
||||||
// console.log("super", msg);
|
// console.log("super", msg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user