feat(mixed datasource): updated Elasticsearch so it uses new way to define annotations editor

This commit is contained in:
Torkel Ödegaard
2015-08-18 07:58:44 +02:00
parent 3de041a411
commit 5c2d49f7ce
2 changed files with 15 additions and 1 deletions
@@ -3,7 +3,8 @@ define([
'lodash',
'config',
'kbn',
'moment'
'moment',
'./directives'
],
function (angular, _, config, kbn, moment) {
'use strict';
@@ -0,0 +1,13 @@
define([
'angular',
],
function (angular) {
'use strict';
var module = angular.module('grafana.directives');
module.directive('annotationsQueryEditorElasticsearch', function() {
return {templateUrl: 'app/plugins/datasource/elasticsearch/partials/annotations.editor.html'};
});
});