refactor(): minor refactor

This commit is contained in:
Torkel Ödegaard 2016-02-05 08:50:15 +01:00
parent 714129c8e3
commit f80d5f8c03
3 changed files with 2 additions and 10 deletions

View File

@ -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,
}

View File

@ -33,7 +33,7 @@
</li>
<li class="tight-form-item last">
<a class="pointer" tabindex="1" ng-click="ctrl.removeQuery(target)">
<i class="fa fa-remove"></i>
<i class="fa fa-trash"></i>
</a>
</li>
</ul>

View File

@ -1,7 +1,7 @@
///<reference path="../../../headers/common.d.ts" />
import _ from 'lodash';
import {PanelCtrl} from '../../../features/panel/panel';
import {PanelCtrl} from 'app/features/panel/panel';
// Set and populate defaults
var panelDefaults = {