cloudhead/less.js — Issue #623: Unable to import a variable ?
Author: Anahkiasen
Created: 2012-02-06 15:22:46+00:00
State: open

I have a weird bug popping up, on code that was working before (which I don't get because the .js file hasn't been modified since) :

I have a file containing this and this only :
@iconWhiteSpritePath: "../css/glyphicons-halflings-white.png";

And another file containing this :
@import "variables.less";

.icon-white
{
background-image: url(@iconWhiteSpritePath);
}

When I go to my page I get the usual error, with no further details : *Cannot call method 'charAt' of undefined*
And I just can't seem to find where the error comes from.