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

Inconsistency with less.js #351

Open
gdelhumeau opened this issue Aug 29, 2016 · 0 comments
Open

Inconsistency with less.js #351

gdelhumeau opened this issue Aug 29, 2016 · 0 comments

Comments

@gdelhumeau
Copy link
Contributor

Hello.

We use LESS4j for a year and we are happy with it. Thanks for the great work.

I just have noticed an inconsistency:

@web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700";

.web-font(@path) {
  @import url("@{path}");
}
.web-font(@web-font-path);

Results with lessjs:

@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700");

Results with less4j:

ERROR 959:3 The file @{path}.less does not exist.
 958: .web-font(@path) {
 959:   @import url("@{path}");
 960: }


    at com.github.sommeri.less4j.core.ThreadUnsafeLessCompiler.compile(ThreadUnsafeLessCompiler.java:87)
    at com.github.sommeri.less4j.core.DefaultLessCompiler.compile(DefaultLessCompiler.java:56)

Thanks,
Guillaume Delhumeau

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