/js/DemoHelloWorld/script.js
http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs · JavaScript · 10 lines · 7 code · 1 blank · 2 comment · 0 complexity · 57ba21154a4b2d816c8568eeca960837 MD5 · raw file
- (function () {
- // Callback for when browse is ready
- var onDocumentReady = function () {
- var clientGame = new DemoHelloWorld.DemoClientGame();
- DemoHelloWorld.DemoClientGame.prototype.log("DemoClientGame: Ready...");
- };
- // Listen for ready
- window.addEventListener('load', onDocumentReady, false);
- })();