new try to avoid lgtm unused-local-variable warning

This commit is contained in:
REJack 2020-12-02 08:38:35 +01:00
parent 5d4ed59ba9
commit 90527a83d1

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