josephg/ShareJS — pull request #97 by nelsonsilva (2012-05-17 14:58:47+00:00)
Title: Added sockjs support

I've added sockjs support. The server side sockjs is practically equal to browserchannel's so we should probably extract most of it to another class.
In order to use sockjs on the server just pass sockjs: {} in the options.
For the client I kept browserchannel as default (since it's the default on the server as well). Basically it only uses sockjs when browserchannel is not available. You can try it by removing bcsocket.js and adding http://cdn.sockjs.org/sockjs-0.2.1.js to one of the examples.