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

Audit function parameter and return types (1/2) #456

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

lloydk
Copy link
Collaborator

@lloydk lloydk commented Feb 27, 2024

I did an audit of all of the functions to ensure they have the correct types and that all color types can be passed as parameters.

There were a fair number of changes so I'm breaking up the changes into two PRs, this is part 1 of 2.

Ensure that functions in the following modules have the correct types
and ensure that all color types can be passed as parameters:

- chromaticity
- distance
- get
- getAll
Copy link

netlify bot commented Feb 27, 2024

Deploy Preview for colorjs ready!

Name Link
🔨 Latest commit 343e3b4
🔍 Latest deploy log https://app.netlify.com/sites/colorjs/deploys/65dd67a5851c2a0008a4c73a
😎 Deploy Preview https://deploy-preview-456--colorjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@MysteryBlokHed MysteryBlokHed left a comment

Choose a reason for hiding this comment

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

LGTM!

@jgerigmeyer jgerigmeyer merged commit cbac81f into color-js:main Feb 27, 2024
5 checks passed
jgerigmeyer added a commit that referenced this pull request Feb 28, 2024
* main:
  Audit function parameter and return types (2/2) (#457)
  Always show delta display to help confirm it is in gamut (#458)
  Final clip is required in Ray tracing
  [apps/gamut-mapping] Add edge seeker algorithm (#448)
  Audit function parameter and return types (1/2) (#456)
  Rework raytracing limiting hue shift to no more than 3 degrees at worst
@lloydk lloydk deleted the audit-types-1 branch March 15, 2024 05:23
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.

3 participants