Files
socket.io/lib/io.js
Guillermo Rauch f8228d9466 .path => .setPath
Changed event listeners for flashsocket compatibility
2010-03-17 12:31:16 -07:00

9 lines
206 B
JavaScript

this.io = {
version: 0.1,
setPath: function(path){
this.path = path;
WebSocket.__swfLocation = path + 'lib/vendor/web-socket-js/WebSocketMain.swf';
}
};
if ('jQuery' in this) jQuery.io = this.io;