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

Add number suffixes (support for units) #31

Closed
cshaa opened this issue May 6, 2021 · 1 comment
Closed

Add number suffixes (support for units) #31

cshaa opened this issue May 6, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@cshaa
Copy link
Owner

cshaa commented May 6, 2021

If a NUMBER is followed by a SYMBOL, we should treat it as a suffixed number and transformed to something like options.suffixedNumber( num, sfx ). If there is no suffixedNumber method, we should throw an error that makes sense to the user as well as the developer.

This would allow us to write expressions like:

width of screen < 800px
@cshaa cshaa added the enhancement New feature or request label May 6, 2021
@cshaa cshaa added this to the v3 milestone May 6, 2021
@cshaa
Copy link
Owner Author

cshaa commented Jun 17, 2021

This will be fixed by #38 and #39.

@cshaa cshaa closed this as completed Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant