diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-18 12:04:57 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-18 12:04:57 -0500 |
| commit | 860977e8b4aa3e101d5017a60ccbf9475ce1b32a (patch) | |
| tree | 275ccb5a3b9067b04b924daf9e69ecde8efd0f75 /game | |
| parent | wasm: add build version/date (diff) | |
| download | DungeonCrawl-860977e8b4aa3e101d5017a60ccbf9475ce1b32a.tar.gz DungeonCrawl-860977e8b4aa3e101d5017a60ccbf9475ce1b32a.tar.bz2 DungeonCrawl-860977e8b4aa3e101d5017a60ccbf9475ce1b32a.zip | |
fix whitespace alignment
Diffstat (limited to 'game')
| -rw-r--r-- | game/www/index.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/game/www/index.html b/game/www/index.html index 3c1805e..8b60dbf 100644 --- a/game/www/index.html +++ b/game/www/index.html @@ -1,12 +1,12 @@ <!doctype html> <html lang="en-us"> <head> - <meta charset="utf-8"> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta name="viewport" content="width=device-width"> + <meta charset="utf-8"> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta name="viewport" content="width=device-width"> <meta property="og:title" content="Dungeon Crawl"> <meta property="og:description" content="Dungeon Crawl game!"> - <title>Dungeon Crawl</title> + <title>Dungeon Crawl</title> <link rel="stylesheet" href="/style.css"> </head> <body id="body"> @@ -26,8 +26,8 @@ <canvas id="canvas"></canvas> <script type='text/javascript'> - var canvas = document.querySelector('#canvas'); - var seed_input = document.querySelector('#seed'); + var canvas = document.querySelector('#canvas'); + var seed_input = document.querySelector('#seed'); var logs = document.querySelector('#logs'); var logs_content = document.querySelector('#logs .content'); @@ -86,14 +86,14 @@ outputLog('Loaded DungeonCrawl vBUILD_VERSION, built BUILD_DATE'); } - var Module = { - canvas, + var Module = { + canvas, print: outputLog, printErr: errorLog, noInitialRun: true, onRuntimeInitialized, - }; - </script> - <script src="game.js"></script> + }; + </script> + <script src="game.js"></script> </body> </html> |