SomMeri / less4j

Less language is an extension of css and less4j compiles it into regular css. Less adds several dynamic features into css: variables, expressions, nested rules, and so on. Less was designed to be compatible with css and any correct css file is also correct less file.
145 stars 47 forks source link

Less4j consumes infinite amount of resource in case of looping mixin #292

Closed SomMeri closed 9 years ago

SomMeri commented 9 years ago

Use case: https://github.com/SomMeri/less4j/pull/290#issuecomment-125933476

Less4j need stop condition if evaluation takes too long or too many resources.

SomMeri commented 9 years ago

I pushed also TimeoutedLessCompiler implementation of LessCompiler interface which creates time restricted less compiler.