Skip to content

Commit

Permalink
a little clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncalabrese committed Mar 13, 2015
1 parent 896ae9e commit 3162422
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/pebble.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

var DIRECTIONS = {
NONE: 0
, DoubleUp: 1
Expand Down Expand Up @@ -53,7 +55,6 @@ function pebble (req, res) {
res.setHeader('content-type', 'application/json');
res.write(JSON.stringify(result));
res.end( );
// collection.db.close();
}

var earliest_data = Date.now() - ONE_DAY;
Expand All @@ -72,7 +73,7 @@ function pebble (req, res) {
, treatments: function(callback) {
loadTreatments(req, earliest_data, function (err, trs) {
treatmentResults = trs;
callback()
callback();
});
}
, profile: function(callback) {
Expand All @@ -85,7 +86,7 @@ function pebble (req, res) {
}
});
callback();
})
});
}
, cal: function(callback) {
if (req.rawbg) {
Expand Down

0 comments on commit 3162422

Please sign in to comment.