Hi Ian! How are you?
No, I didn't try to use now.ready() since I wanted to keep functions
with the same reading, like "if disconnected do this, if connected do
this". Since I'm noob at coding, reading the code like that makes more
sense to me.
And it's already live, it's amazing for me that I could accomplish
what I wanted :) if is disconnected, the color of the UI changes, but
once connected, it changes again:
http://www.insidernews.com.br/mobile
What I'm trying to find now is how to control
socket.io parameters
while using nowjs. I need to increase heart beat to keep checking more
quickly a disconnection and a reconnection. Is taking too long for my
application to respond to this changes in environment.
Best regards,
Filipe