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

Refactored Geeksay.js and Added 2 Files: Quotes.js and Translations.js #474

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kelbri10
Copy link

@kelbri10 kelbri10 commented Oct 7, 2023

Added 2 JS files, quotes.js and translations.js :
Screenshot of Quotes.js and Translations.js files being added to code

These files hold the quotes and translations. The code is easier to maintain and prevents the main document with the logic, geeksay.js, from becoming too long. This allows for easier iterations in the future.

The below screenshots shows the impact of the refactor, allowing the geeksay.js file to become more readable.
Screenshot of new formatting with require statements importing quotes and translations

…mport into main geeksay for more maintainable code
@kelbri10
Copy link
Author

kelbri10 commented Oct 7, 2023

@swapagarwal I believe these adds will be helpful for future developers who want to add to the repo!

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.

1 participant