Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Improved JS codestyle according to best practices #260

Merged
merged 3 commits into from
Jul 28, 2017

Conversation

Crasher-ua
Copy link
Contributor

Each step of this change will makes code a little bit more consistent, changes difference
will have less size and logical problems could be revealed easier.

Commit 1: variables declaration
Commit 2: indentation

Next steps will be performed in the scope of other pull requests. In further request I want to reduce overall complexity of JS code and find logical problems if they are available.

@tommysdk
Copy link
Contributor

Hi @Crasher-ua! Thank you for the proposed codestyle changes! Will take a look as soon as possible and provide some feedback.

Copy link
Contributor

@tommysdk tommysdk left a comment

Choose a reason for hiding this comment

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

Basically a file reformat with explicit variable declarations which improves readability, which looks fine. There is one other pipe.js file though in webapp/themes/overview that would be in the need of the same refactoring. Do you think you could address that as well in the same pull request before merging this change?

@Crasher-ua
Copy link
Contributor Author

Hello @tommysdk! Thanks a lot for review. Sure, I've added this file to pull request too.

@tommysdk
Copy link
Contributor

Thank you very much @Crasher-ua for your quick response and additions to the pull request! The change set looks good.

@tommysdk tommysdk merged commit 79e9560 into Diabol:master Jul 28, 2017
@tommysdk
Copy link
Contributor

Thank you @Crasher-ua for your contribution!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants