tech: removing unused variables from typescript files, and making tslint rules more strict

This commit is contained in:
Torkel Ödegaard
2017-09-21 16:40:18 +02:00
parent adda84d124
commit b8d9722b4f
176 changed files with 137 additions and 391 deletions

View File

@@ -2,7 +2,6 @@
import config from 'app/core/config';
import _ from 'lodash';
import angular from 'angular';
import $ from 'jquery';
import {profiler} from 'app/core/profiler';
import Remarkable from 'remarkable';
@@ -213,7 +212,6 @@ export class PanelCtrl {
}
replacePanel(newPanel, oldPanel) {
var row = this.row;
var index = _.indexOf(this.row.panels, oldPanel);
this.row.panels.splice(index, 1);