From 7557ccf438be2361de3adbbe8e01c0b986817e72 Mon Sep 17 00:00:00 2001 From: cubedro Date: Wed, 29 Apr 2015 12:03:05 +0300 Subject: [PATCH] removed console logs --- app.js | 3 +-- public/js/controllers.js | 9 ++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/app.js b/app.js index 6afaeb8..39230f7 100644 --- a/app.js +++ b/app.js @@ -137,8 +137,7 @@ api.on('connection', function(spark) { { var range = Nodes.getHistory().getHistoryRequestRange(); - console.log("asked " + data.id + " for history"); - console.log('interval', range.max + " - " + range.min); + console.log("asked " + data.id + " for history: " + range.min + " - " + range.max); spark.emit('history', range); diff --git a/public/js/controllers.js b/public/js/controllers.js index f200f13..6accc8d 100644 --- a/public/js/controllers.js +++ b/public/js/controllers.js @@ -94,8 +94,8 @@ function StatsCtrl($scope, $filter, socket, _, toastr) { function socketAction(action, data) { - console.log('Action: ', action); - console.log('Data: ', data); + // console.log('Action: ', action); + // console.log('Data: ', data); switch(action) { case "init": @@ -230,9 +230,8 @@ function StatsCtrl($scope, $filter, socket, _, toastr) { function getMinersNames() { - if($scope.miners.length > 0) { - console.log('miners', $scope.miners); - + if($scope.miners.length > 0) + { _.forIn($scope.miners, function(value, key) { if(value.name !== false)