• Joel Martin's avatar
    Add global variable option for swf location. · 1144eaa3
    Joel Martin authored
    The problem is, you can't set WebSocket.__swfLocation before you load
    web_socket.js (because it creates the WebSocket global), but you also
    can't reliably set WebSocket.__swfLocation after because if you are
    doing dynamic script file includes then the onload (i.e.
    WebSocket.__initialize) may fire before you have a chance to set
    Websocket.__swfLocation.
    1144eaa3
web_socket.js 10.5 KB