ro.isdc.wro.extensions.processor.js
Class CoffeeScriptProcessor
java.lang.Object
ro.isdc.wro.extensions.processor.js.AbstractNodeWithFallbackProcessor
ro.isdc.wro.extensions.processor.js.CoffeeScriptProcessor
- All Implemented Interfaces:
- ResourcePostProcessor, ResourcePreProcessor
@SupportedResourceType(value=JS)
public class CoffeeScriptProcessor
- extends AbstractNodeWithFallbackProcessor
Similar to RhinoCoffeeScriptProcessor
but will prefer using NodeCoffeeScriptProcessor
if it is
supported and will fallback to rhino based processor.
- Since:
- 1.6.0
- Author:
- Alex Objelean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALIAS
public static final String ALIAS
- See Also:
- Constant Field Values
CoffeeScriptProcessor
public CoffeeScriptProcessor()
createNodeProcessor
protected ResourcePreProcessor createNodeProcessor()
-
- Specified by:
createNodeProcessor
in class AbstractNodeWithFallbackProcessor
- Returns:
ResourcePreProcessor
used as a primary processor.
createFallbackProcessor
protected ResourcePreProcessor createFallbackProcessor()
- Lazily initialize the rhinoProcessor.
- Specified by:
createFallbackProcessor
in class AbstractNodeWithFallbackProcessor
- Returns:
ResourcePreProcessor
used as a fallback processor.
Copyright © 2008-2013. All Rights Reserved.