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

Removed a few duplicated code lines #241

Merged
merged 7 commits into from
Feb 7, 2019
Merged

Removed a few duplicated code lines #241

merged 7 commits into from
Feb 7, 2019

Conversation

Hanouta
Copy link
Contributor

@Hanouta Hanouta commented Feb 5, 2019

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)

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
@nukeop nukeop added the under review This pull request is being reviewed by maintainers. label Feb 5, 2019
@nukeop
Copy link
Owner

nukeop commented Feb 6, 2019

Is this ready to be merged, or are you still working on it?

@Hanouta
Copy link
Contributor Author

Hanouta commented Feb 6, 2019

I´ve shortened the code like you suggested, so it can be merged now...
Btw: I´ve changed a line in the TrackInfo/styles.scss file to fix #243, idk why it has added this change to this pull request automatically(yeah, I´m new to github :D)

@nukeop
Copy link
Owner

nukeop commented Feb 7, 2019

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.

@nukeop nukeop merged commit cb29478 into nukeop:master Feb 7, 2019
nukeop added a commit that referenced this pull request Sep 30, 2019
Removed a few duplicated code lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
under review This pull request is being reviewed by maintainers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants