try to avoid lgtm unused-local-variable alert
This commit is contained in:
parent
c6926a5eea
commit
7985fb6b95
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.
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
var salesChart = new Chart(salesChartCanvas, {
|
||||
// lgtm [js/unused-local-variable]
|
||||
type: 'line',
|
||||
data: salesChartData,
|
||||
options: salesChartOptions
|
||||
|
@ -265,5 +266,3 @@ $(function () {
|
|||
options: salesGraphChartOptions
|
||||
})
|
||||
})
|
||||
|
||||
// lgtm [js/unused-local-variable]
|
||||
|
|
Loading…
Reference in a new issue