Skip to content

index.mjs: fix constant assignment #451

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

Merged
merged 1 commit into from
Jul 23, 2025
Merged

index.mjs: fix constant assignment #451

merged 1 commit into from
Jul 23, 2025

Conversation

XhmikosR
Copy link
Collaborator

@XhmikosR XhmikosR commented Jul 6, 2025

specRulesInViewport is a Map so .set() should be used

This was introduced in #446.

The site docs still need to be updated for #446 and also this makes me wonder why tests didn't catch the error. Maybe they don't cover this part and we need to adapt the tests?

/CC @giorgiopellegrino to take care of the aforementioned issues when you have time.

specRulesInViewport is a Map so .set() should be used
@XhmikosR XhmikosR requested a review from addyosmani July 6, 2025 15:18
@XhmikosR XhmikosR marked this pull request as ready for review July 6, 2025 15:21
@XhmikosR XhmikosR merged commit 089ae02 into main Jul 23, 2025
11 checks passed
@XhmikosR XhmikosR deleted the xmr/fix-lint branch July 23, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant