/js/DemoHelloWorld/script.js
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
- (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);
- })();