Closed (fixed)
Project:
Less CSS Preprocessor
Version:
6.x-2.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2011 at 20:00 UTC
Updated:
26 Apr 2012 at 01:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
Bill Choy commentedFollowing.... Have the same problem. Replacing the "lessc.inc.php" fixed in 6.x-2.7 worked.
Both lessc file where marked, annoyingly, as v.0.2.1
The downloaded lessc actually look more like their v.0.3.0 branch.. which has an unidentified syntax change.
PS: I hope they fix the mixin's parameter delimiter from ";" to "," [ex @gradiant(@start; @end){ ... } ].
To better match the Less Function delimiter [ex @greylight:lighten(@grey, 10%); ].
Comment #2
thedavidmeister commentedsame problem here, proposed fix of cloning the latest version of lessphp seems to make things work.
was breaking bootstrap (by twitter) until i updated lessc.inc.php
Comment #3
decipheredFind attached a patch that simply updates to the latest lessc.inc.php
Comment #4
corey.aufang commentedThe current version of the module has Libraries API support.
If you download the latest version of lessphp and place in the libraries folder, it should be automatically detected and used in place of the bundled version.
I will be working on an update to the module to include the 3.0 version of lessphp, but until that occurs the best solution is to use the libraries method.
I'm going to update the module page to show that the module has Libraries API support.
Comment #5
corey.aufang commentedClosing as Libraries API is the current and most likely only future solution.
Reopen if you're still having issues.
Comment #6
thedavidmeister commentedwhy should the module knowingly ship with a broken version of the library?
the resolution to this issue should either be the module shipping with a version of the LESS library that functions as expected, or should not include any version of the library at all and always require the user to BYO library, preferably using the Libraries API as you suggested.
Comment #7
corey.aufang commentedI agree.
The newest version requires that you download the lessphp library separately.
Comment #8
thedavidmeister commentedgreat, i think that's a good solution. I've been having a few annoying bugs while implementing LESS on a few different projects and doing things this way means I always know who's issue queue to follow up when something ruins my day :)
Comment #8.0
thedavidmeister commentedmissed url before