mirror of
https://github.com/amark/gun.git
synced 2025-06-07 22:56:42 +00:00
fix indentation
This commit is contained in:
parent
9c41182004
commit
8e6d827216
@ -83,7 +83,7 @@ function Peer (url, options) {
|
|||||||
this.setMaxListeners(Infinity);
|
this.setMaxListeners(Infinity);
|
||||||
|
|
||||||
this.options = options || {};
|
this.options = options || {};
|
||||||
if( !('wsc' in this.options ) ) this.options.wsc = 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;
|
else if( !('protocols' in this.options.wsc) ) this.options.wsc.protocols = null;
|
||||||
|
|
||||||
// Messages sent before the socket is ready.
|
// Messages sent before the socket is ready.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user