Skip to content
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

Replace usages of Object.keys() #2054

Merged
merged 6 commits into from
Jan 30, 2025

Conversation

caugner
Copy link
Contributor

@caugner caugner commented Jan 2, 2025

Fixes #2053.

  1. Converts browser-extension.json to array of objects.
  2. Replaces a Object.keys() usage with a for..in loop.

Before

image

After

image

Avoids `Object.keys()`, not available in Firefox 3.6 and earlier.
browser-extensions.json Outdated Show resolved Hide resolved
Copy link
Member

@queengooborg queengooborg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formal change request, see above.

Copy link
Member

@queengooborg queengooborg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes have now been applied!

@queengooborg queengooborg merged commit 285aca2 into openwebdocs:main Jan 30, 2025
2 checks passed
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.

Results don't show in Firefox 3.6 and earlier
2 participants