Skip to content

constants not available on the fws object #1

@GoogleCodeExporter

Description

@GoogleCodeExporter
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.com on 5 Jan 2011 at 9:16

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions