new try to avoid lgtm unused-local-variable warning

pull/3185/head
REJack 2020-12-02 08:38:35 +01:00
parent 5d4ed59ba9
commit 90527a83d1
1 changed files with 1 additions and 2 deletions

View File

@ -166,8 +166,7 @@ $(function () {
// This will get the first returned node in the jQuery collection.
// eslint-disable-next-line no-unused-vars
var salesChart = new Chart(salesChartCanvas, {
// lgtm [js/unused-local-variable]
var salesChart = new Chart(salesChartCanvas, { // lgtm [js/unused-local-variable]
type: 'line',
data: salesChartData,
options: salesChartOptions