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

Bug with the unary minus sign? #23

Closed
chmllr opened this issue Jan 29, 2012 · 3 comments
Closed

Bug with the unary minus sign? #23

chmllr opened this issue Jan 29, 2012 · 3 comments

Comments

@chmllr
Copy link

chmllr commented Jan 29, 2012

Hi,

I'm using the less plugin for the play framework, which has lesscss-engine-1.0.43.jar as a dependency. This version translates, e.g., the code "@var: 4px; div { width: -@var; }" to "div { width: - 4px; }" which seems to be invalid less code (there should be no space between the minus sign and the number).

@asual
Copy link
Owner

asual commented Jan 30, 2012

Have you tried reproducing it with 1.1.5? This sounds like a less.js issue.

@chmllr
Copy link
Author

chmllr commented Jan 30, 2012

To be honest, I have tried to use the latest version yesterday but I couldn't get a working setup with eclipse+maven at all, because I never used maven before. If I find some time in the next days, I'll try it again.

However, the latest less compiler (intalled through npm) compiles everything correctly.

@chmllr
Copy link
Author

chmllr commented Jan 30, 2012

So I cloned the project & imported it as a maven module, then created a class within it and tested my code — it seems to work now.

Thank you!

@chmllr chmllr closed this as completed Jan 30, 2012
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

2 participants