juliangruber/reconnect-core — pull request #4 by dodo (2014-03-09 00:28:10+00:00)
Title: add emitter to options

not always a new eventemitter is needed specially when a library using
this code is already creating event emitters on they own and want to add
reconnect functionality to them and their socket.

i could add a comment noting that this option should only be used when the person knows what she's doing.

refactored out of #2.