Closed christophetd closed 8 years ago
Some people (myself included) may not want this console.log. Instead, allowing the user to pass an optional callback to the start method seems better to me. (He could also listen on the connected event, but that's basically a shortcut)
Thanks for your PR. However you can set callback by using tg.on 'connected' event. console.log will be removed soon.
tg.on 'connected'
console.log
Some people (myself included) may not want this console.log. Instead, allowing the user to pass an optional callback to the start method seems better to me. (He could also listen on the connected event, but that's basically a shortcut)