mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
b6253370cc
This is a fix for issue #19644, concerning the `parseCssColor` function in the file `ext/console/01_console.js`. Changes made on lines 2756-2758. To sum it up: > The internal `parseCssColor` function currently parses 3/4-digit hex colors incorrectly. For example, it parses the string `#FFFFFF` as `[255, 255, 255]` (as expected), but returns `[240, 240, 240]` for `#FFF`, when it should return the same triplet as the former. While it's not going to cause a fatal runtime error, it did bug me enough to fix it real quick. |
||
---|---|---|
.. | ||
01_console.js | ||
Cargo.toml | ||
internal.d.ts | ||
lib.deno_console.d.ts | ||
lib.rs | ||
README.md |