Skip to content

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