/js/DemoHelloWorld/script.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs · JavaScript · 10 lines · 7 code · 1 blank · 2 comment · 0 complexity · 57ba21154a4b2d816c8568eeca960837 MD5 · raw file

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