From 826544b5ac22c1ad72e8c5ff607e225612b9fa2d Mon Sep 17 00:00:00 2001 From: lengstrom Date: Sat, 17 May 2014 19:26:31 -0400 Subject: [PATCH] added hackexeter comments --- checking.js | 1 + entities.js | 1 + index.html | 1 + input.js | 1 + keypress.min.js | 1 + main.js | 1 + math.js | 1 + server.js | 1 + 8 files changed, 8 insertions(+) diff --git a/checking.js b/checking.js index d8b5cfb..56e7a8d 100644 --- a/checking.js +++ b/checking.js @@ -1,3 +1,4 @@ +// HackExeter function getIndex(list,index) { if(index>-1) { return index%list.length; diff --git a/entities.js b/entities.js index 0e5c762..7354906 100644 --- a/entities.js +++ b/entities.js @@ -1,3 +1,4 @@ +// HackExeter //you can change these to sexier stuff function Block(lane, color, distFromHex, settled) { this.settled = (settled == undefined) ? 0 : 1; diff --git a/index.html b/index.html index b581af0..8d2f7bc 100644 --- a/index.html +++ b/index.html @@ -1,3 +1,4 @@ + diff --git a/input.js b/input.js index b8f376a..85982ca 100644 --- a/input.js +++ b/input.js @@ -1,3 +1,4 @@ +// HackExeter keypress.register_combo({ keys: "left", on_keyup: function(){MainClock.rotate(1)}, diff --git a/keypress.min.js b/keypress.min.js index e004f6a..10256aa 100644 --- a/keypress.min.js +++ b/keypress.min.js @@ -1,3 +1,4 @@ +// HackExeter /* Keypress version 1.0.8 (c) 2013 David Mauro. Licensed under the Apache License, Version 2.0 diff --git a/main.js b/main.js index 8c3ec44..a49505b 100644 --- a/main.js +++ b/main.js @@ -1,3 +1,4 @@ +// HackExeter var canvas = document.getElementById('canvas'); var ctx = canvas.getContext('2d'); diff --git a/math.js b/math.js index c74f052..62e6822 100644 --- a/math.js +++ b/math.js @@ -1,3 +1,4 @@ +// HackExeter function rotatePoint(x, y, theta) { var thetaRad = theta * (Math.PI / 180); var rotX = Math.cos(thetaRad) * x - Math.sin(thetaRad) * y; diff --git a/server.js b/server.js index 49de419..0574af9 100644 --- a/server.js +++ b/server.js @@ -1,3 +1,4 @@ +// HackExeter var app = require('http').createServer(handler), fs = require('fs');