Skip to content

Commit

Permalink
Fix syntax of sample js snippet.
Browse files Browse the repository at this point in the history
  • Loading branch information
demers-eric committed Sep 18, 2017
1 parent c66d13c commit 62c3294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Include the file `js/chord.js`.
var paper = Raphael(div_element, 150, 140);
var chord = new ChordBox(paper, 30, 30);

# Draw an open D7
chord.setChord("[[1, 2], [2, 1], [3, 2], [4, 0], [5, "x"], [6, "x"]]")
// Draw an open D7
chord.setChord([[1, 2], [2, 1], [3, 2], [4, 0], [5, "x"], [6, "x"]])
chord.draw()
```

Expand Down

0 comments on commit 62c3294

Please sign in to comment.