joewalnes / reconnecting-websocket

A small decorator for the JavaScript WebSocket API that automatically reconnects
MIT License
4.23k stars 967 forks source link

Default settings ignored: this -> self? #77

Open brubbel opened 7 years ago

brubbel commented 7 years ago

this.maxReconnectAttempts should be self.maxReconnectAttempts to accept the default values in settings?

code Thanks for checking.