-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
ColorSpace.parseAsync
and simplify the ColorSpace "API-surface"
This patch reduces the number of `ColorSpace` static-methods, and in particular the `parseAsync` method is removed and it's now instead possible to have `parse` optionally return a Promise. This thus removes the need to manually check if a `ColorSpace`-instance is cached, note the changes in the `src/core/evaluator.js` file.
- Loading branch information
1 parent
5e6cfbe
commit 93a8352
Showing
2 changed files
with
76 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters