Closed dvv closed 13 years ago
I have reproduced it.
It connects to the server twice, and thus all actions get doubled. Lets see whats causing it....
Interesting to check, whether it's xhr-polling, or Opera, who's failing?
Actually it seems like this is an issue with the internal dependency loaded callback being called twice.
This issue should be fixed in master.
Worth to mention: if the server downs and ups, now.ready
is re-called if reconnection enabled. So anyone who puts singleton stuff into now.ready
(my situation: Backbone.history.start()
), be warned that you shouldn't.
Hmm I should get that in the documentation
@ericz: Is this resolved or just closed? Coz I am facing this issue.
Hi!
The following chunk of code:
illustrates the problem I previously described in #39
now.ready
indeed is called once, but without the fuser I get twoGOT CONTEXT
lines in the console, which means the callback for my customnow.getContext
is called twice. This quirk I noticed only when testing in Opera which fallbacks to xhr-polling socket.io method.Can anyone confirm this behavior?
TIA, --Vladimir