Skip to content

Support uppercase letters in units #8

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
Feb 22, 2016
Merged

Support uppercase letters in units #8

merged 1 commit into from
Feb 22, 2016

Conversation

pbevin
Copy link
Contributor

@pbevin pbevin commented Feb 20, 2016

This fixes issue #5: it makes the evaluator treats different case variants of a unit as equivalent, and output the leftmost one:

calc(1Px + 1px)  => 2Px
calc(1px + 1PX) => 2px

MoOx added a commit that referenced this pull request Feb 22, 2016
Support uppercase letters in units
@MoOx MoOx merged commit 6efd3b5 into MoOx:master Feb 22, 2016
@MoOx
Copy link
Owner

MoOx commented Feb 22, 2016

Thanks!

@MoOx
Copy link
Owner

MoOx commented Feb 22, 2016

Released as 1.2.1.

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.

2 participants