Browse Source

Removed 2 console.logs

Harald Kraemer 11 years ago
parent
commit
e737b51e9d
2 changed files with 0 additions and 3 deletions
  1. 0 2
      src/app/controllers/dash.js
  2. 0 1
      src/app/directives/grafanaGraph.js

+ 0 - 2
src/app/controllers/dash.js

@@ -58,14 +58,12 @@ function (angular, $, config, _) {
       $scope.dashAlerts = alertSrv;
 
       $scope.filter = filterSrv;
-      console.log( "dash controller -> init -> current dashboard", dashboard.current );
       $scope.filter.init( dashboard.current );
 
       $scope.$watch('dashboard.current', function(newValue) {
           $scope.filter.init( newValue );
       });
 
-      console.log( "Scope I watch on", $scope );
       $scope.$watch('filter.time', function() {
           $scope.dashboard.refresh();
       }, true);

+ 0 - 1
src/app/directives/grafanaGraph.js

@@ -388,7 +388,6 @@ function (angular, $, kbn, moment, _) {
 
         elem.bind("plotselected", function (event, ranges) {
           scope.$apply( function() {
-              console.log( "Scope I call filter.setTime on", scope );
               scope.filter.setTime({
                 from  : moment.utc(ranges.xaxis.from).toDate(),
                 to    : moment.utc(ranges.xaxis.to).toDate(),