jpcaruana/old_strophejs — pull request #1 by jpcaruana (2013-06-03 10:36:15+00:00)
Title: add feedback on 4 undocumented (without reason) disconnect

Hi,
while developing my app, I encountered several cases of "Disconnect was called because: undefined" in my logs. That wasn't very helpful and I found 4 calls of this.disconnect() without reason :

/** Function: disconnect
* Start the graceful disconnection process. [...]
*
* Parameters:
* (String) reason - The reason the disconnect is occuring.
*/

This patch adds feedback on these 4 undocumented disconnect. I hope it would be helpful to others.