juliangruber/reconnect-core — pull request #1 by rvagg (2013-11-27 04:08:30+00:00)
Title: don't rely on `onConnect` being a thing

you might want to `reconnect().on('connection', ...)` instead and there is a matching `if(onConnect)` above for this.