You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 24, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 24, 2020. It is now read-only.
I want to define a variable, which could be empty in some cases @prefix: "";
and to use it like this src: url("@{prefix}/path/to/something");
the problem is that it compiles into src: url("""/path/to/something");
How to define an empty string variable, that can be compiled in src: url("/path/to/something");
Activity
MarianaSilva commentedon Dec 19, 2011
I have the same issue!
Try to use @Prefix: " ";
joeldrapper commentedon Feb 3, 2012
Works great for me. If that doesn't work you could change it to this which sets it to be empty with javascript.
@prefix: ~'';gacekssj4 commentedon Jun 17, 2015
I use:
@prefix: ;and its empty :)