Permalink
Browse files

Small spacing issues

  • Loading branch information...
1 parent c1f0645 commit 96dd02822d5200fe883fce6383fbb5800a427a08 @VicV VicV committed Apr 21, 2013
Showing with 16 additions and 2 deletions.
  1. +13 −0 node_modules/README.md
  2. +2 −1 public/javascripts/algorithms.js
  3. +1 −1 routes/index.js
@@ -0,0 +1,13 @@
+# Node Modules #
+
+* Express, to quickly set up a server to test on
+
+* Jade, the templating engine, to make the HTML part of things not the focus.
+
+* mysql, to store our data
+
+* sequelize, to interact with that data
+
+* stylus, to shorten css typing and speed that up too
+
+
@@ -61,7 +61,8 @@ function processData(data) {
organizedData[w][y] = data[i].unit;
y++;
}
- //Getting the average units per yer
+ //Getting the average units per yer.
+ //Defining like this to avoid pushing.
var avgs=[0,0,0,0,0,0,0,0,0,0,0];
for (var m = 0; m < 51; m++){
for (var n = 0; n < organizedData[m].length; n++){
View
@@ -78,7 +78,7 @@ exports.summary = function(req, res) {
//Getting the prediction information
exports.predict = function(req, res) {
var coordinates = [req.body.data[0], req.body.data[1]];
- console.log(coordinates)
+ console.log(coordinates);
solarObject.getPrediction(coordinates[0], coordinates[1], function(a) {
//back to the callback with you
res.send(a)

0 comments on commit 96dd028

Please sign in to comment.