add an example for IALoader, and center the canvases in the examples

This commit is contained in:
Daniel Brooks
2015-04-11 15:38:36 -07:00
parent f498739d35
commit 8cb644918b
4 changed files with 21 additions and 3 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<title>example console game</title>
</head>
<body>
<canvas id="canvas" style="width: 50%; height: 50%"/>
<canvas id="canvas" style="width: 50%; height: 50%; display: block; margin: 0 auto;"/>
<script type="text/javascript" src="es6-promise.js"></script>
<script type="text/javascript" src="browserfs.js"></script>
<script type="text/javascript" src="loader.js"></script>