removed html

This commit is contained in:
Fredrik Jensen 2017-09-05 21:57:11 +02:00
parent 20d7cbb83f
commit d876180f82
2 changed files with 1 additions and 6 deletions

View File

@ -1,5 +0,0 @@
<html>
<body>
<script src="./build/bundle.js" /></script>
</body>
</html>

View File

@ -116,7 +116,7 @@ const moveSnake = (direction) => {
* Set key events
*/
setSnakeDirection = (direction) => snake.direction = direction;
const setSnakeDirection = (direction) => snake.direction = direction;
document.onkeydown = function(e) {
switch (e.keyCode) {