-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Removed a few duplicated code lines #241
Conversation
Added function 'replaceQuery' (because the functions 'addToken' and 'addKeys' had a few duplicated code lines) Function 'search' instead of three functions with almost the same code in it(searchAlbums, searchArtists, searchReleases)
Removed a few duplicated code lines
Use function 'search' instead
Is this ready to be merged, or are you still working on it? |
I´ve shortened the code like you suggested, so it can be merged now... |
If you open a pull request, pushing to the branch that's in that pull request will also add new changes to the pull request itself. But it's alright anyway. Thanks for your help and I hope your first contributions were enjoyable, it's always very cool to see new people commit something. |
Removed a few duplicated code lines
Added function 'replaceQuery' because the functions 'addToken' and 'addKeys' had a few duplicated code lines
Function 'search' instead of three functions with almost the same code in it(searchAlbums, searchArtists, searchReleases)