mustang2247 / jquery-websocket

Automatically exported from code.google.com/p/jquery-websocket
0 stars 0 forks source link

Event.data is undefined #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Event.data returns undefined.  To get data from the message, you have to access 
event.originalEvent.data.  Is this a bug?

Original issue reported on code.google.com by jonahbron.d on 27 Nov 2010 at 12:46

GoogleCodeExporter commented 8 years ago
events.message is never fired, so I have to use message.  From there, 
event.data is undefined, and the data must be evaluated with evalJSON().

Original comment by jonahbron.d on 27 Nov 2010 at 1:25