minor refactor

This commit is contained in:
Alexander Zobnin
2018-08-28 16:37:51 +03:00
parent be2c32192a
commit 8a51d1d854
9 changed files with 64 additions and 49 deletions

View File

@@ -3,10 +3,12 @@ import _ from 'lodash';
import $ from 'jquery';
import * as metricFunctions from './metricFunctions';
/** @ngInject */
angular
.module('grafana.directives')
.directive('addMetricFunction', function($compile) {
.directive('addMetricFunction',
/** @ngInject */
function($compile) {
var inputTemplate = '<input type="text"'+
' class="gf-form-input"' +
' spellcheck="false" style="display:none"></input>';