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

Rename arguments #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

whyboris
Copy link
Contributor

@whyboris whyboris commented May 13, 2019

This PR:

  • renames arguments
  • cleans up the formatting for the index.js file 👍
  • changes var to let and const -- it's been enough years that it shouldn't cause trouble for anyone I think 😅
  • removes arbitrary limit of 100 ⚠️
  • moves a few conditional statements before needlessly filling the matrix if conditions hold 🚀

@whyboris
Copy link
Contributor Author

npm test still shows 18 passing -- no errors introduced 🙆‍♂


if (Math.abs(thisLength - thatLength) > (limit || 100)){
Copy link
Contributor Author

Choose a reason for hiding this comment

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

⚠️ There was an arbitrary (undocumented) hardcoded limit of 100. I have removed it in this PR. ⚠️

@whyboris
Copy link
Contributor Author

This PR makes quite a few changes, please let me know if you'd like me to undo any of them 👌

After you approve whichever changes should get merged, I'll update the CHANGELOG 😀

@tad-lispy
Copy link
Owner

Hey, thanks! I havn't looked at the code yet, but from your comments it looks like a very welcome changes. I'm quite busy this week, but I promise to review as soon as I have some extra time.

@whyboris
Copy link
Contributor Author

No worries -- and no rush 👌
Hope your week is as stress-free as possible 🎐

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