Skip to content

Remove unnecessary .toLowerCase() operation #1273

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
May 18, 2020
Merged

Remove unnecessary .toLowerCase() operation #1273

merged 1 commit into from
May 18, 2020

Conversation

jdufresne
Copy link
Contributor

Simply compare the tagName property to capital letters to avoid the
unnecessary function call.

Simply compare the tagName property to capital letters to avoid the
unnecessary function call.
@matthiask matthiask merged commit 663fc27 into django-commons:master May 18, 2020
@jdufresne jdufresne deleted the lower branch May 18, 2020 22:06
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.

3 participants