added hackexeter comments

This commit is contained in:
lengstrom 2014-05-17 19:26:31 -04:00
parent 69726178c7
commit 826544b5ac
8 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,4 @@
// HackExeter
function getIndex(list,index) {
if(index>-1) {
return index%list.length;

View file

@ -1,3 +1,4 @@
// HackExeter
//you can change these to sexier stuff
function Block(lane, color, distFromHex, settled) {
this.settled = (settled == undefined) ? 0 : 1;

View file

@ -1,3 +1,4 @@
<!-- HackExeter -->
<!DOCTYPE html>
<html>
<head>

View file

@ -1,3 +1,4 @@
// HackExeter
keypress.register_combo({
keys: "left",
on_keyup: function(){MainClock.rotate(1)},

1
keypress.min.js vendored
View file

@ -1,3 +1,4 @@
// HackExeter
/*
Keypress version 1.0.8 (c) 2013 David Mauro.
Licensed under the Apache License, Version 2.0

View file

@ -1,3 +1,4 @@
// HackExeter
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');

View file

@ -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;

View file

@ -1,3 +1,4 @@
// HackExeter
var app = require('http').createServer(handler),
fs = require('fs');