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

util: change isRTL to a function #32446

Merged
merged 3 commits into from
Feb 16, 2021
Merged

util: change isRTL to a function #32446

merged 3 commits into from
Feb 16, 2021

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Dec 12, 2020

This allows the bundler to tree-shake the function.

I wonder if we should cache the function call in the plugins we use isRTL()?

@XhmikosR XhmikosR force-pushed the main-xmr-js-isRTL branch 5 times, most recently from e41e5e1 to f5ca90b Compare December 16, 2020 09:22
@XhmikosR XhmikosR removed the request for review from ffoodd January 13, 2021 20:44
@XhmikosR XhmikosR marked this pull request as ready for review February 15, 2021 20:55
@XhmikosR XhmikosR requested a review from a team as a code owner February 15, 2021 20:55
This allows the bundler to tree-shake the function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants