Class LessCss
java.lang.Object
ro.isdc.wro.extensions.processor.support.less.LessCss
This class is not thread-safe.
The underlying implementation uses the webjar containing less.js library.
The underlying implementation uses the webjar containing less.js library.
- Since:
- 1.3.0
- Author:
- Alex Objelean
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the sass script to be used by default. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_LESS_JS
The name of the sass script to be used by default.- See Also:
-
-
Constructor Details
-
LessCss
public LessCss()
-
-
Method Details
-
getScriptAsStream
- Returns:
- stream of the less.js script.
- Throws:
IOException
-
less
- Parameters:
data- css content to process.- Returns:
- processed css content.
-