-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Remove ColorSpaceUtils.parseAsync
and simplify the ColorSpace "API-surface"
#19599
Remove ColorSpaceUtils.parseAsync
and simplify the ColorSpace "API-surface"
#19599
Conversation
@calixteman I've been thinking about your comments the other day, and I can agree that the current "API-surface" of |
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.
LGTM. Thank you.
9d9a2a4
to
0fa01aa
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/27411087c1eebaf/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/27411087c1eebaf/output.txt Total script time: 29.79 mins
Image differences available at: http://54.241.84.105:8877/27411087c1eebaf/reftest-analyzer.html#web=eq.log |
…surface" This patch reduces the number of `ColorSpaceUtils` 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.
0fa01aa
to
fbf1f2b
Compare
ColorSpace.parseAsync
and simplify the ColorSpace "API-surface"ColorSpaceUtils.parseAsync
and simplify the ColorSpace "API-surface"
/botio browsertest |
From: Bot.io (Linux m4)ReceivedCommand cmd_browsertest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/c76680114c766e9/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/c76680114c766e9/output.txt Total script time: 16.68 mins
|
This patch reduces the number of
ColorSpaceUtils
static-methods, and in particular theparseAsync
method is removed and it's now instead possible to haveparse
optionally return a Promise.This thus removes the need to manually check if a
ColorSpace
-instance is cached, note the changes in thesrc/core/evaluator.js
file.