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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up code duplication in rails js #842

Merged
merged 6 commits into from Mar 5, 2018

Conversation

julianguyen
Copy link
Member

@julianguyen julianguyen commented Mar 5, 2018

  • Clean up code duplication warnings raised by Codeclimate in JS assets in Rails 馃懐
  • Fix bug with displaying client-side errors on the form submissions 馃殧

There should be unit tests for form_processing.js, there's already an issue for this (#363). I will probably work on this at a later time 馃檭. I added basic acceptance tests for now.

Created an issue for getting rid of JSHint and using ESLint everywhere. I wanted to use string interpolation and arrow functions but arg couldn't 馃ぃ

@julianguyen julianguyen force-pushed the clean-up-code-duplication-in-rails-js branch from 5f5a71f to ca6fc13 Compare March 5, 2018 03:15
@julianguyen julianguyen force-pushed the clean-up-code-duplication-in-rails-js branch 4 times, most recently from c84da57 to 2ee200c Compare March 5, 2018 04:01
@julianguyen julianguyen force-pushed the clean-up-code-duplication-in-rails-js branch from 2ee200c to fc4157a Compare March 5, 2018 04:59
@julianguyen julianguyen requested a review from nshki March 5, 2018 05:06
@julianguyen julianguyen force-pushed the clean-up-code-duplication-in-rails-js branch 2 times, most recently from 32d8ad2 to a5e5c78 Compare March 5, 2018 07:01
@julianguyen julianguyen force-pushed the clean-up-code-duplication-in-rails-js branch from a5e5c78 to f16a1b5 Compare March 5, 2018 07:10
Copy link
Member

@nshki nshki left a comment

Choose a reason for hiding this comment

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

Woo LGTM! 馃帀 馃帀 馃帀

@nshki nshki merged commit 6d6fa3a into master Mar 5, 2018
@nshki nshki deleted the clean-up-code-duplication-in-rails-js branch March 5, 2018 13:15
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.

None yet

2 participants