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

Added null check for options #38

Merged
merged 2 commits into from Sep 22, 2022
Merged

Added null check for options #38

merged 2 commits into from Sep 22, 2022

Conversation

AndrewPetz
Copy link
Contributor

Added null checks to options in rainbowCursor.js and trailingCursor.js. These were failing when calling either of those functions without passing in an options variable. I tested all of the other cursor functions as well.

Setting the size wasn't checking the `options` parameter for null, causing an error when instantiating without that parameter.
@tholman
Copy link
Owner

tholman commented Sep 22, 2022

Thank you! Will push to npm when I get a minute. 🙏

@tholman tholman merged commit 4b2b446 into tholman:master Sep 22, 2022
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