From 316e1aac67abb0f4d22303cef0f3556a6ee04d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 4 Feb 2016 15:12:44 +0100 Subject: [PATCH] fix(build): minor fix --- public/app/features/panel/query_ctrl.ts | 20 -------------------- public/app/plugins/panel/unknown/module.ts | 1 + 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/public/app/features/panel/query_ctrl.ts b/public/app/features/panel/query_ctrl.ts index 016f675dd0f..66370595252 100644 --- a/public/app/features/panel/query_ctrl.ts +++ b/public/app/features/panel/query_ctrl.ts @@ -55,23 +55,3 @@ export class QueryCtrl { } } -// var directivesModule = angular.module('grafana.directives'); -// -// /** @ngInject */ -// function metricsQueryOptions(dynamicDirectiveSrv, datasourceSrv) { -// return dynamicDirectiveSrv.create({ -// watchPath: "ctrl.panel.datasource", -// directive: scope => { -// return datasourceSrv.get(scope.ctrl.panel.datasource).then(ds => { -// return System.import(ds.meta.module).then(dsModule => { -// return { -// name: 'metrics-query-options-' + ds.meta.id, -// fn: dsModule.metricsQueryOptions -// }; -// }); -// }); -// } -// }); -// } -// -// directivesModule.directive('metricsQueryOptions', metricsQueryOptions); diff --git a/public/app/plugins/panel/unknown/module.ts b/public/app/plugins/panel/unknown/module.ts index dad970047bf..d625485cb63 100644 --- a/public/app/plugins/panel/unknown/module.ts +++ b/public/app/plugins/panel/unknown/module.ts @@ -5,6 +5,7 @@ import {PanelCtrl} from '../../../features/panel/panel'; export class UnknownPanelCtrl extends PanelCtrl { static templateUrl = 'public/app/plugins/panel/unknown/module.html'; + /** @ngInject */ constructor($scope, $injector) { super($scope, $injector); }