ro.isdc.wro.extensions.processor.js
Class JsLintProcessor

java.lang.Object
  extended by ro.isdc.wro.extensions.processor.js.AbstractLinterProcessor
      extended by ro.isdc.wro.extensions.processor.js.JsLintProcessor
All Implemented Interfaces:
ResourcePostProcessor, ResourcePreProcessor

@SupportedResourceType(value=JS)
public class JsLintProcessor
extends AbstractLinterProcessor

Processor which analyze the js code and warns you about any problems. The processing result won't change no matter if the processed script contains errors or not.

The version of jshint used by this processor is a snapshot committed on the following date: 2012-11-19 07:22:27.

Since:
1.4.2
Author:
Alex Objelean

Field Summary
static String ALIAS
           
 
Constructor Summary
JsLintProcessor()
           
 
Method Summary
protected  AbstractLinter newLinter()
          
 
Methods inherited from class ro.isdc.wro.extensions.processor.js.AbstractLinterProcessor
createDefaultOptions, onException, onLinterException, process, process, setOptions, setOptionsAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALIAS

public static final String ALIAS
See Also:
Constant Field Values
Constructor Detail

JsLintProcessor

public JsLintProcessor()
Method Detail

newLinter

protected AbstractLinter newLinter()

Specified by:
newLinter in class AbstractLinterProcessor
Returns:
the linter to use for js code validation.


Copyright © 2008-2013. All Rights Reserved.