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

Documentation wrong or implementation not complete? #6

Open
alinex opened this issue Mar 21, 2017 · 1 comment
Open

Documentation wrong or implementation not complete? #6

alinex opened this issue Mar 21, 2017 · 1 comment

Comments

@alinex
Copy link

alinex commented Mar 21, 2017

I tested it liek:

$ node
> var math = require('typographic-math-symbols');
undefined
> math(`3 =< 2`);     // 3 ≤ 2
'3 =< 2'
> math(`4 >= 4`);     // 4 ≥ 4
'4 ≥ 4'

According to the Readme page this should work. But if I change the order of the two signs:

> math(`3 <= 2`);     // 3 ≤ 2
'3 ≤ 2'
> math(`4 => 4`);     // 4 ≥ 4
'4 => 4'

So did you forget to add both orders or should the equal sign aleways be the last sign in this operation, then please change the readme.

@alinex
Copy link
Author

alinex commented Mar 21, 2017

Maybe it is best to implement the one solution from the Readme because the other conflicts with the arrow if using the typographic-base package.

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

No branches or pull requests

1 participant