소스 검색

removed some debugging messages

Rashid Khan 13 년 전
부모
커밋
1545e32b60
2개의 변경된 파일1개의 추가작업 그리고 11개의 파일을 삭제
  1. 0 3
      js/controllers.js
  2. 1 8
      js/filters.js

+ 0 - 3
js/controllers.js

@@ -37,7 +37,6 @@ angular.module('kibana.controllers', [])
     }
 
     eventBus.register($scope,'dashboard', function(event,dashboard){
-      console.log('got broadcast')
       $scope.dashboards = dashboard;
       _.defaults($scope.dashboards,_d)
     })
@@ -67,7 +66,6 @@ angular.module('kibana.controllers', [])
     if (timeout > 0)
       $timeout(function() {
         $scope.global_alert = _.without($scope.global_alert,alert)
-        console.log($scope.global_alert)
       }, timeout);
   }
 
@@ -112,7 +110,6 @@ angular.module('kibana.controllers', [])
   }
 
   $scope.add_panel = function(row,panel) {
-    console.log(panel)
     $scope.row.panels.push(panel);
   }
 

+ 1 - 8
js/filters.js

@@ -2,11 +2,4 @@
 /*global angular:true */
 'use strict';
 
-angular.module('kibana.filters', [])
-  .filter('dateformat', ['dateformat', function(date) {
-    return function(date) {
-      console.log(date)
-      return "ahoy!"
-      //return String(date).replace(/\%VERSION\%/mg, version);
-    }
-  }]);
+angular.module('kibana.filters', [])