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

[WIP] fixed es-lint issues #4223

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
used forEach instead of ‘for’
  • Loading branch information
uchihamalolan committed Oct 5, 2019
commit ea0a5fe741a9f8531e60c8f9a33a5bcc0d5ccc57
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,5 @@ function initializeFollowButt(butt) {

function initializeAllFollowButts() {
var followButts = document.getElementsByClassName('follow-action-button');
for (var i = 0; i < followButts.length; i += 1) {
initializeFollowButt(followButts[i]);
}
followButts.forEach(initializeFollowButt(followButts));
}