fix indentation

This commit is contained in:
d3x0r 2016-12-21 12:17:56 -08:00 committed by GitHub
parent 9c41182004
commit 8e6d827216

View File

@ -83,7 +83,7 @@ function Peer (url, options) {
this.setMaxListeners(Infinity);
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;
// Messages sent before the socket is ready.