Skip to content

Commit c712833

Browse files
committed
chore: fix example
1 parent 149ffdd commit c712833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h1>A spectrum-generator module usage example</h1>
7474
.autoAxis() // Assigns axes
7575
.setWaveform(waveForm);
7676

77-
if (false && json.labels) {
77+
if (json.labels) {
7878
for (let label of json.labels) {
7979
const shape = graph.newShape('label', {
8080
label: {
@@ -91,7 +91,7 @@ <h1>A spectrum-generator module usage example</h1>
9191
}
9292
}
9393

94-
if (false && json.lines) {
94+
if (json.lines) {
9595
for (let line of json.lines) {
9696
const shape = graph.newShape('line', {
9797
position: line,

0 commit comments

Comments
 (0)