Skip to content

Commit

Permalink
fixed linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jongund committed Jun 7, 2024
1 parent ff1bdda commit c7d97ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/practices/high-contrast/high-contrast-practice.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ function computeDistance(hex1, hex2) {
Math.pow(rgb1.r - rgb2.r, 2) +
Math.pow(rgb1.g - rgb2.g, 2) +
Math.pow(rgb1.b - rgb2.b, 2)
);
);
}

/*
Expand Down Expand Up @@ -626,7 +626,7 @@ function getHTMLColorName(systemColorName, colorHex) {
if (
colorHex.substring(1, 2) === colorHex.substring(3, 4) &&
colorHex.substring(1, 2) === colorHex.substring(5, 6)
) {
) {

Check failure on line 630 in content/practices/high-contrast/high-contrast-practice.js

View workflow job for this annotation

GitHub Actions / lint-js

Delete `⏎`

Check failure on line 630 in content/practices/high-contrast/high-contrast-practice.js

View workflow job for this annotation

GitHub Actions / lint-js

Delete `⏎`
switch (colorHex[1]) {
case '0':
Expand Down

0 comments on commit c7d97ee

Please sign in to comment.