Skip to content
Browse files

stopped debug output, fixed global leake of counter variable

  • Loading branch information...
1 parent bb1bf8d commit fa78834d45945274167d2cd7c4161c18ddc730a8 @rowanu rowanu committed Nov 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ga.js
View
4 lib/ga.js
@@ -123,7 +123,7 @@ GA.prototype.get = function(options, cb) {
var data_data = combineChunks(chunks, length).toString();
- console.log(data_data)
+ // console.log(data_data)
var parsed_data = JSON.parse(data_data);
@@ -139,7 +139,7 @@ GA.prototype.get = function(options, cb) {
}
- for (i=0; i<parsed_data.rows.length; i++){
+ for (var i=0; i<parsed_data.rows.length; i++){
var entry = {metrics:[], dimensions:[]};
var object_metric = {};

0 comments on commit fa78834

Please sign in to comment.
Something went wrong with that request. Please try again.