Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

can't decode onmessage #11

Open
polidore opened this issue Jun 16, 2011 · 0 comments
Open

can't decode onmessage #11

polidore opened this issue Jun 16, 2011 · 0 comments

Comments

@polidore
Copy link

When I get called back with the onmessage event, and I do JSON.parse(msg), I get this:

SyntaxError: Unexpected token ILLEGAL
    at Object.parse (native)

But I can JSON.parse what you return in the data callback just fine. odd.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant