try to avoid lgtm unused-local-variable alert
This commit is contained in:
3
dist/js/pages/dashboard.js
vendored
3
dist/js/pages/dashboard.js
vendored
@@ -167,6 +167,7 @@ $(function () {
|
|||||||
// This will get the first returned node in the jQuery collection.
|
// This will get the first returned node in the jQuery collection.
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
var salesChart = new Chart(salesChartCanvas, {
|
var salesChart = new Chart(salesChartCanvas, {
|
||||||
|
// lgtm [js/unused-local-variable]
|
||||||
type: 'line',
|
type: 'line',
|
||||||
data: salesChartData,
|
data: salesChartData,
|
||||||
options: salesChartOptions
|
options: salesChartOptions
|
||||||
@@ -265,5 +266,3 @@ $(function () {
|
|||||||
options: salesGraphChartOptions
|
options: salesGraphChartOptions
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// lgtm [js/unused-local-variable]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user