fix(datasources): many datasources did not work in optimized build due to missing ngInject comment

This commit is contained in:
Torkel Ödegaard
2016-01-15 12:51:55 +01:00
parent 954c0e9fae
commit d4e1a715eb
8 changed files with 30 additions and 28 deletions

View File

@@ -10,6 +10,7 @@ function (angular, _, moment, dateMath) {
var durationSplitRegexp = /(\d+)(ms|s|m|h|d|w|M|y)/;
/** @ngInject */
function PrometheusDatasource(instanceSettings, $q, backendSrv, templateSrv) {
this.type = 'prometheus';
this.editorSrc = 'app/features/prometheus/partials/query.editor.html';