PageRenderTime 20ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/js/DemoHelloWorld/script.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 10 lines | 7 code | 1 blank | 2 comment | 0 complexity | 57ba21154a4b2d816c8568eeca960837 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  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. })();