FilipVT/Less-Parser-Air — Issue #2: Javascript evaluation error
Author: newgi
Created: 2011-11-06 21:44:53+00:00
State: open

source:

.opacity (@alpha){
filter: ~`'alpha(opacity=' + parseFloat('@{alpha}') * 100 + ')'`;
-khtml-opacity: @alpha;
-moz-opacity: @alpha;
opacity: @alpha;
}

expected and other parsers result (so it should work):

filter: alpha(opacity=80);
-khtml-opacity: 0.8;
-moz-opacity: 0.8;
opacity: 0.8;

Less Parser result:

Invalid less file
JavaScript evaluation error: `'alpha(opacity=' + parseFloat('0.8') * 100 + ')'`