Compare commits
No commits in common. "deb03111b2a5925a4f592d6eeb294a8c4e43151d" and "37eb940fbda9c423834ca3b0f6895753f446ed88" have entirely different histories.
deb03111b2
...
37eb940fbd
7
utils.js
7
utils.js
@ -81,17 +81,10 @@ function RGB_to_HSL(rgb) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
function asyncTimeout(timeout) {
|
|
||||||
return new Promise(resolve => {
|
|
||||||
setTimeout(resolve, timeout);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
fillPartialHSL,
|
fillPartialHSL,
|
||||||
clamp,
|
clamp,
|
||||||
HSL_to_RGB,
|
HSL_to_RGB,
|
||||||
RGB_to_HSL,
|
RGB_to_HSL,
|
||||||
hue2rgb,
|
hue2rgb,
|
||||||
asyncTimeout,
|
|
||||||
};
|
};
|
||||||
Loading…
Reference in New Issue
Block a user