-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Assign colors, and then assign colors to keys #1799
Conversation
Cool. It looks like this regressed a couple of years ago in fbd7064 (here, to be exact). Is this a review request? If so, will you please introduce a test to cover correct initialization of |
👋 Hi, by the way! I don't think we've met, but I've appreciated the maintenance you're doing here. I'm sure you're having great fun living with the consequences of all my bad decisions 😃 |
Yeah - there were a lot of updates made that day! |
Hello and nice to meet you! I feel like I already know you from all of your PRs I've read as I've updated CDO johnny-five. I recently shared lessons learned from johnny-five, and I included a shout-out to you - see slide 10. |
Will do - thanks so much! |
@islemaster - just added a unit test - thanks for the suggestion. |
Looks great! Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks good. Thanks for the catch and the patch.
@code-dot-org/johnny-five was recently updated to the latest release of its upstream in this PR.
@islemaster - While implementing Code.org customizations, I noticed a small bug in
lib/led/rgb.js
-RGB.prototype[Animation.keys]
is assigned toRGB.colors
beforeRGB.colors
is assigned to an array of strings. This PR changes the order of these lines.jira