Skip to content

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

Open
kelbri10 wants to merge 1 commit into
swapagarwal:masterfrom
kelbri10:refactor-geeksay
Open

Refactored Geeksay.js and Added 2 Files: Quotes.js and Translations.js#474
kelbri10 wants to merge 1 commit into
swapagarwal:masterfrom
kelbri10:refactor-geeksay

Conversation

@kelbri10

@kelbri10 kelbri10 commented Oct 7, 2023

Copy link
Copy Markdown

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

kelbri10 commented Oct 7, 2023

Copy link
Copy Markdown
Author

@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.

2 participants