lukeed / sockette

The cutest little WebSocket wrapper! 🧦
MIT License
2.45k stars 81 forks source link

Version 2 hides socket #33

Closed vipseixas closed 6 years ago

vipseixas commented 6 years ago

On readme: "Upon creation, the WebSocket is returned directly, exposing the native close and send methods."

But version 2 changed return $.open(); (which returns the ws) to return self; and the websocket is not accessible.

lukeed commented 6 years ago

Ah, whoops. Missed that!