mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
commit
0a4c1fcbe9
2
gun.js
2
gun.js
@ -1003,7 +1003,7 @@
|
||||
if(!obj_is(at.opt.peers)){ at.opt.peers = {}}
|
||||
at.opt.peers = obj_to(tmp, at.opt.peers);
|
||||
}
|
||||
at.opt.wsc = at.opt.wsc || {protocols:''}
|
||||
at.opt.wsc = at.opt.wsc || {protocols:[]}
|
||||
at.opt.peers = at.opt.peers || {};
|
||||
obj_to(opt, at.opt); // copies options on to `at.opt` only if not already taken.
|
||||
Gun.on('opt', at);
|
||||
|
2
gun.min.js
vendored
2
gun.min.js
vendored
File diff suppressed because one or more lines are too long
@ -189,7 +189,7 @@ Gun._ = { // some reserved key words, these are not the only ones.
|
||||
if(!obj_is(at.opt.peers)){ at.opt.peers = {}}
|
||||
at.opt.peers = obj_to(tmp, at.opt.peers);
|
||||
}
|
||||
at.opt.wsc = at.opt.wsc || {protocols:''}
|
||||
at.opt.wsc = at.opt.wsc || {protocols:[]}
|
||||
at.opt.peers = at.opt.peers || {};
|
||||
obj_to(opt, at.opt); // copies options on to `at.opt` only if not already taken.
|
||||
Gun.on('opt', at);
|
||||
|
Loading…
x
Reference in New Issue
Block a user