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

fix: switch to use dynamic mixin #2086

Closed
wants to merge 1 commit into from
Closed

Conversation

dlockhart
Copy link
Member

The use of for await here was causing esbuild to complain (it's used by @web/dev-server) in Firefox.

Since the languages passed into this function are a static list, I don't actually think for await was required. Either way, switching this to use the newer LocalizeDynamicMixin also resolves this.

There are a bunch of places that copied this though, so they may also need to be updated.

@dlockhart dlockhart requested a review from a team as a code owner February 7, 2022 16:29
@dlockhart
Copy link
Member Author

Looking into the test failures.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2022

Visual diff tests failed - pull request #2087 has been opened with the updated goldens.

@dlockhart
Copy link
Member Author

This caused a lot of timing issues in our tests in non-Chrome, so closing this in favour of a BSI solution.

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.

None yet

2 participants