changcheng / wro4j

Automatically exported from code.google.com/p/wro4j
0 stars 0 forks source link

Twitter Bootstrap 2.0 is not compiled well by less-processor #502

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hey, 
Bootstrap does not compile well with wro4j's current less-processor 
implementation. 
I have issues with code where functions from "mixins.less" are invoked:

e.g.: tooltip.less is compiled as:

[..]

.tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid 
#NaNbbaaNaN00NaN00NaN00NaN00NaN;border-right:5px solid 
#NaNbbaaNaN00NaN00NaN00NaN00NaN;border-top:5px solid #000}.tooltip.left 
.tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid 
#NaNbbaaNaN00NaN00NaN00NaN00NaN;border-bottom:5px solid 
#NaNbbaaNaN00NaN00NaN00NaN00NaN;border-left:5px solid #000}.tooltip.bottom 
.tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid 
#NaNbbaaNaN00NaN00NaN00NaN00NaN;border-right:5px solid 
#NaNbbaaNaN00NaN00NaN00NaN00NaN;border-bottom:5px solid #000}.tooltip.right 
.tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid 
#NaNbbaaNaN00NaN00NaN00NaN00NaN;border-bottom:5px solid 
#NaNbbaaNaN00NaN00NaN00NaN00NaN;border-right:5px solid 
#000}.tooltip-inner{max-width:200px;padding:3px 
8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;-web
kit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}
[...]

it seems like some variables could not resolved correctly.
I tested the latest version from Bootstrap and wro4j 1.4.7.

Original issue reported on code.google.com by heidrich...@gmail.com on 2 Aug 2012 at 10:31

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 4 Aug 2012 at 10:59

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 4 Aug 2012 at 12:59

GoogleCodeExporter commented 9 years ago
Fixed in branch 1.4.x

Original comment by alex.obj...@gmail.com on 4 Aug 2012 at 1:00

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 8 Aug 2012 at 8:29

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 9 Aug 2012 at 6:31