PageRenderTime 118ms CodeModel.GetById 36ms app.highlight 32ms RepoModel.GetById 30ms app.codeStats 0ms

/js/DemoBox2D/script.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 12 lines | 8 code | 2 blank | 2 comment | 0 complexity | 246f3ccf2eee088c392145413e69500b MD5 | raw file
 1(function () {
 2    WEB_SOCKET_SWF_LOCATION = "js/lib/Socket.IO-node/support/socket.io-client/lib/vendor/web-socket-js/WebSocketMain.swf";
 3
 4    // Callback for when browse is ready
 5    var onDocumentReady = function () {
 6        var clientGame = new DemoBox2D.DemoClientGame();
 7        DemoBox2D.DemoClientGame.prototype.log("DemoBox2DClient: Ready...");
 8    };
 9
10    // Listen for ready
11    window.addEventListener('load', onDocumentReady, false);
12})();