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.
|
||||
// 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]
|
||||
|
||||
Reference in New Issue
Block a user