swagger-api/swaggersocket — pull request #16 by elakito (2014-11-12 14:45:49+00:00)
Title: trigger swaggerocket listener's onOpen after successful handshake and other updates

Hi,

I have another PR for swaggersocket.
This PR contains the following changes/fixes
1. trigger swaggerocket listener's onOpen after successful handshake
with this patch, you can see in the echo sample, that the onOpen is called everytime a connection is (re)opened.

2. display the error message correctly for the samples
previously the error event was not displayed correctly in the samples due to the undefined/wrong method being invoked.

3. remove the embedded jquery.atmosphere.js from swaggersocket.js
I removed the embedded atmosphere code and added jquery.atmosphere.js 2.2.5 (modified with PR #131 of atmosphere-javascript) in swaggersocket.js's jquery folder. Also swapped was the jquery.js from that folder.

Thanks
regards, aki