/js/DemoCircles/script.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs · JavaScript · 11 lines · 8 code · 1 blank · 2 comment · 0 complexity · 225befa596bd98150f19a83fa7764df7 MD5 · raw file

  1. (function () {
  2. WEB_SOCKET_SWF_LOCATION = "ABC"
  3. // Callback for when browse is ready
  4. var onDocumentReady = function () {
  5. var clientGame = new DemoApp.DemoClientGame();
  6. DemoApp.DemoClientGame.prototype.log("DemoClientGame: Ready...");
  7. };
  8. // Listen for ready
  9. window.addEventListener('load', onDocumentReady, false);
  10. })();