LearnBoost/socket.io-client — Issue #338: Make the client compatible with AMD loaders (e.g. RequireJS)
Author: jgonera
Created: 2011-11-15 11:34:14+00:00
State: open

It would be great if the client was compatible with AMD loaders, i.e. it should call define if it's available. That would allow us to write such code on the client side:

define(['socket.io'], function(io) {
// now io can be used just like if Socket.IO was loaded using a