ro.isdc.wro.extensions.processor.support.less
Class LessCss
java.lang.Object
ro.isdc.wro.extensions.processor.support.less.LessCss
public class LessCss
- extends Object
This class is not thread-safe.
The underlying implementation use patched less.js from version 1.3.3
project: ://github.com/cloudhead/less.js
.
- Since:
- 1.3.0
- Author:
- Alex Objelean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LESS_JS
public static final String DEFAULT_LESS_JS
- The name of the sass script to be used by default.
- See Also:
- Constant Field Values
LessCss
public LessCss()
getRunScriptAsStream
protected InputStream getRunScriptAsStream()
- Returns:
- the stream of the script responsible for invoking the less transformation javascript code.
getScriptAsStream
protected InputStream getScriptAsStream()
- Returns:
- stream of the less.js script.
less
public String less(String data)
- Parameters:
data
- css content to process.
- Returns:
- processed css content.
Copyright © 2008-2013. All Rights Reserved.