Skip to content

Conversation

donmccurdy
Copy link
Contributor

It looks like the unit string is formatted to allow a value to be inserted, which seems good since it works for both prefixes and suffixes, but the template wasn't doing the replacement.

For example, if the template string is {0}% and the value is 25, the result should be 25%.

I'm also precompiling the template, to render a bit faster.

@donmccurdy donmccurdy closed this Jun 16, 2015
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.

1 participant