using /* */ comment to avoid warning

pull/3185/head
REJack 4 years ago
parent 90527a83d1
commit 8240412de9

@ -166,7 +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
@ -197,7 +197,7 @@ $(function () {
// Create pie or douhnut chart
// You can switch between pie and douhnut using the method below.
// eslint-disable-next-line no-unused-vars
var pieChart = new Chart(pieChartCanvas, {
var pieChart = new Chart(pieChartCanvas, { /* lgtm [js/unused-local-variable] */
type: 'doughnut',
data: pieData,
options: pieOptions
@ -259,7 +259,7 @@ $(function () {
// This will get the first returned node in the jQuery collection.
// eslint-disable-next-line no-unused-vars
var salesGraphChart = new Chart(salesGraphChartCanvas, {
var salesGraphChart = new Chart(salesGraphChartCanvas, { /* lgtm [js/unused-local-variable] */
type: 'line',
data: salesGraphChartData,
options: salesGraphChartOptions

Loading…
Cancel
Save