From f80d5f8c03ac1b7355ccbf349a4c0b1084881535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 5 Feb 2016 08:50:15 +0100 Subject: [PATCH] refactor(): minor refactor --- public/app/features/panel/panel.ts | 8 -------- public/app/features/panel/partials/query_editor_row.html | 2 +- public/app/plugins/panel/text/module.ts | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/public/app/features/panel/panel.ts b/public/app/features/panel/panel.ts index 94aeb3878aa..c2415aaa1da 100644 --- a/public/app/features/panel/panel.ts +++ b/public/app/features/panel/panel.ts @@ -6,16 +6,8 @@ import {PanelCtrl} from './panel_ctrl'; import {MetricsPanelCtrl} from './metrics_panel_ctrl'; import {QueryCtrl} from './query_ctrl'; -class DefaultPanelCtrl extends PanelCtrl { - /** @ngInject */ - constructor($scope, $injector) { - super($scope, $injector); - } -} - export { PanelCtrl, - DefaultPanelCtrl, MetricsPanelCtrl, QueryCtrl, } diff --git a/public/app/features/panel/partials/query_editor_row.html b/public/app/features/panel/partials/query_editor_row.html index 4cf21b32e17..81f7e4f6c98 100644 --- a/public/app/features/panel/partials/query_editor_row.html +++ b/public/app/features/panel/partials/query_editor_row.html @@ -33,7 +33,7 @@
  • - +
  • diff --git a/public/app/plugins/panel/text/module.ts b/public/app/plugins/panel/text/module.ts index 4cb35b71a4b..5e781571eff 100644 --- a/public/app/plugins/panel/text/module.ts +++ b/public/app/plugins/panel/text/module.ts @@ -1,7 +1,7 @@ /// import _ from 'lodash'; -import {PanelCtrl} from '../../../features/panel/panel'; +import {PanelCtrl} from 'app/features/panel/panel'; // Set and populate defaults var panelDefaults = {