Commit 316e1aac by Torkel Ödegaard

fix(build): minor fix

parent 2ed3cd7f
...@@ -55,23 +55,3 @@ export class QueryCtrl { ...@@ -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);
...@@ -5,6 +5,7 @@ import {PanelCtrl} from '../../../features/panel/panel'; ...@@ -5,6 +5,7 @@ import {PanelCtrl} from '../../../features/panel/panel';
export class UnknownPanelCtrl extends PanelCtrl { export class UnknownPanelCtrl extends PanelCtrl {
static templateUrl = 'public/app/plugins/panel/unknown/module.html'; static templateUrl = 'public/app/plugins/panel/unknown/module.html';
/** @ngInject */
constructor($scope, $injector) { constructor($scope, $injector) {
super($scope, $injector); super($scope, $injector);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment