Skip to content

Give warning when passing 0-indexed dot strings #39

@Tails

Description

@Tails

My application generates 0-indexed fret/strings. Fretboard.js errored out on a line where it tried something like dots[string-1] which would go negative when passed a 0-indexed string. It would be good if it would validate string input/1-indexedness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions