mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Fix quotes
This commit is contained in:
parent
320183fa54
commit
9c41182004
@ -83,8 +83,8 @@ function Peer (url, options) {
|
||||
this.setMaxListeners(Infinity);
|
||||
|
||||
this.options = options || {};
|
||||
if( !('wsc" in this.options ) ) this.options.wsc = options.wsc || { protocols: null };
|
||||
else if( !("protocols" in this.options.wsc) ) this.options.wsc.protocols = null;
|
||||
if( !('wsc' in this.options ) ) this.options.wsc = options.wsc || { protocols: null };
|
||||
else if( !('protocols' in this.options.wsc) ) this.options.wsc.protocols = null;
|
||||
|
||||
// Messages sent before the socket is ready.
|
||||
this.deferredMsgs = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user