Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tune type in list #989

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Conversation

meriadocl
Copy link

No description provided.

@paulrosen
Copy link
Owner

Thanks for this. That's a useful feature. The changes to abc_parse_book.js look fine, but I think I'd like to change some things in abc_tunebook.js.

I don't think the "get" function should change the object - it should be read only. So the return of getTunesByType should be the result of the filter and this.tunes should be unchanged.

Also, you are saving the key. Should there be a parallel function to retrieve tunes by key? Or perhaps even a combination of type and key?

And for PRs in general, I make the changes to the dev branch and this wants to merge to main. Otherwise I'd accept the pull request then modify it myself.

@meriadocl
Copy link
Author

meriadocl commented Apr 14, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants