removed console logs

pull/5/head
cubedro 10 years ago
parent e2f4369307
commit 7557ccf438
  1. 3
      app.js
  2. 9
      public/js/controllers.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);

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

Loading…
Cancel
Save