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 the code (fixes issue #614) #625

Closed
wants to merge 8 commits into from
Closed

Refactored the code (fixes issue #614) #625

wants to merge 8 commits into from

Conversation

TaniaMalhotra
Copy link
Contributor

Changed var declarations for constants to const
Improves readability as well as browser/app memory management.

@Jaifroid
Copy link
Member

Thank you @TaniaMalhotra . I haven't tested yet, but I noticed you changed the declarations in a dependency (Boostrap-bundle.js). Dependencies shouldn't be touched because they are coded that way by the original library. Could you remove that file from the PR, please?

Copy link
Member

@Jaifroid Jaifroid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid changing dependencies.

@TaniaMalhotra
Copy link
Contributor Author

Sir I have created a new PR for the same

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.

Use const declarations instead of var wherever constants are declared
2 participants