gopherjs/websocket — pull request #4 by liamcurry (2014-12-14 20:23:11+00:00)
Title: Allow for other implementations such as SockJS

This merge adds/changes a few things:

- Added `websocket.NewWithGlobal` function to allow specifying the variable on the window.
- Added example usage to the readme.
- Changed `websocket.WebSocket` from a struct to an interface.