mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-07 06:06:47 +02:00
Examples: remove unused myChart
variable (#41494)
This commit is contained in:
@@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
// Graphs
|
// Graphs
|
||||||
const ctx = document.getElementById('myChart')
|
const ctx = document.getElementById('myChart')
|
||||||
// eslint-disable-next-line no-unused-vars
|
new Chart(ctx, {
|
||||||
const myChart = new Chart(ctx, {
|
|
||||||
type: 'line',
|
type: 'line',
|
||||||
data: {
|
data: {
|
||||||
labels: [
|
labels: [
|
||||||
|
@@ -5,8 +5,7 @@
|
|||||||
|
|
||||||
// Graphs
|
// Graphs
|
||||||
const ctx = document.getElementById('myChart')
|
const ctx = document.getElementById('myChart')
|
||||||
// eslint-disable-next-line no-unused-vars
|
new Chart(ctx, {
|
||||||
const myChart = new Chart(ctx, {
|
|
||||||
type: 'line',
|
type: 'line',
|
||||||
data: {
|
data: {
|
||||||
labels: [
|
labels: [
|
||||||
|
Reference in New Issue
Block a user