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

Enabled RuboCop MethodLength in encapsulate_js_iruby method #73

Merged
merged 2 commits into from
Feb 17, 2018

Conversation

Prakriti-nith
Copy link
Contributor

Fix for the issue #66
Enables Rubocop MethodLength.

document.addEventListener('page:load', f, true);
#{js_end_iruby}
EOJS
to_s(page_load)
Copy link
Member

Choose a reason for hiding this comment

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

Isn't eventListener_pageLoad is better method name?

});
#{js_end_iruby}
EOJS
to_s(turbolinks_load)
Copy link
Member

Choose a reason for hiding this comment

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

Isn't eventListener_turbolinksLoad is better method name?

Copy link
Member

@Shekharrajak Shekharrajak left a comment

Choose a reason for hiding this comment

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

Please have a look into my comments. Then it will be ready to merge.

@Shekharrajak
Copy link
Member

Good to go. Thanks for PR @Prakriti-nith .

@Shekharrajak Shekharrajak merged commit 86455e7 into SciRuby:master Feb 17, 2018
@Prakriti-nith Prakriti-nith deleted the rubocop branch May 29, 2018 12:11
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