Thanks for this awesome wrapper! It's not very complex, but it's beautiful
nonetheless.
What steps will reproduce the problem?
1. Print out fws.CONNECTING
2. You will see it is undefined
What is the expected output? What do you see instead?
I would expect to see the number 0 like the real WebSocket prints
Here is what I added to the fws object on my copy to fix this:
CONNECTING: CONNECTING,
OPEN: OPEN,
CLOSING: CLOSING,
CLOSED: CLOSED,
Also, the openTimout variable is misspelled. Do a global replace to
openTimeout.
Original issue reported on code.google.com by
joncr...@gmail.comon 5 Jan 2011 at 9:16