mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
removed some debugging messages
This commit is contained in:
parent
0a94593fc9
commit
1545e32b60
@ -37,7 +37,6 @@ angular.module('kibana.controllers', [])
|
|||||||
}
|
}
|
||||||
|
|
||||||
eventBus.register($scope,'dashboard', function(event,dashboard){
|
eventBus.register($scope,'dashboard', function(event,dashboard){
|
||||||
console.log('got broadcast')
|
|
||||||
$scope.dashboards = dashboard;
|
$scope.dashboards = dashboard;
|
||||||
_.defaults($scope.dashboards,_d)
|
_.defaults($scope.dashboards,_d)
|
||||||
})
|
})
|
||||||
@ -67,7 +66,6 @@ angular.module('kibana.controllers', [])
|
|||||||
if (timeout > 0)
|
if (timeout > 0)
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$scope.global_alert = _.without($scope.global_alert,alert)
|
$scope.global_alert = _.without($scope.global_alert,alert)
|
||||||
console.log($scope.global_alert)
|
|
||||||
}, timeout);
|
}, timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -112,7 +110,6 @@ angular.module('kibana.controllers', [])
|
|||||||
}
|
}
|
||||||
|
|
||||||
$scope.add_panel = function(row,panel) {
|
$scope.add_panel = function(row,panel) {
|
||||||
console.log(panel)
|
|
||||||
$scope.row.panels.push(panel);
|
$scope.row.panels.push(panel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,11 +2,4 @@
|
|||||||
/*global angular:true */
|
/*global angular:true */
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('kibana.filters', [])
|
angular.module('kibana.filters', [])
|
||||||
.filter('dateformat', ['dateformat', function(date) {
|
|
||||||
return function(date) {
|
|
||||||
console.log(date)
|
|
||||||
return "ahoy!"
|
|
||||||
//return String(date).replace(/\%VERSION\%/mg, version);
|
|
||||||
}
|
|
||||||
}]);
|
|
Loading…
Reference in New Issue
Block a user