Skip to content

Commit

Permalink
Adjust spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-nguyen committed Nov 13, 2018
1 parent 46a2c29 commit 52e8445
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions web/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ function update(data) {

function handleMessage(msg) {
switch (msg.type) {
case 'initial':
initializeArena(msg.data);
break;
case 'update':
update(msg.data);
break;
default:
break;
case 'initial':
initializeArena(msg.data);
break;
case 'update':
update(msg.data);
break;
default:
break;
}
}

Expand Down
16 changes: 8 additions & 8 deletions web/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Hello World</title>
<meta charset="utf-8">
<title>Bumper</title>
<style>
* {padding: 0; margin: 0}
</style>
</head>
<script src="https://pixijs.download/v4.8.2/pixi.min.js"></script>
<body>
<script type="module" src="main.js">
</script>
<script src="https://pixijs.download/v4.8.2/pixi.min.js"></script>
<script type="module" src="main.js"></script>
</body>
</html>
<style>* {padding: 0; margin: 0}</style>
<!-- * is the CSS universal selector selects all tags dans ce document -->
</html>

0 comments on commit 52e8445

Please sign in to comment.