Class NgAnnotateProcessor
java.lang.Object
ro.isdc.wro.extensions.processor.js.NgAnnotateProcessor
- All Implemented Interfaces:
ResourcePostProcessor,ResourcePreProcessor,SupportAware
@SupportedResourceType(JS)
public class NgAnnotateProcessor
extends Object
implements ResourcePreProcessor, ResourcePostProcessor, SupportAware
Uses ng-annotate node utility. Adds and removes AngularJS dependency injection annotations. More details can be found
here: https://github.com/olov/ng-annotate
- Since:
- 1.7.8
- Author:
- Manuel S. (adapted from Janek L.B's NgMinProcessor)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ALIAS
- See Also:
-
-
Constructor Details
-
NgAnnotateProcessor
public NgAnnotateProcessor()
-
-
Method Details
-
process
- Specified by:
processin interfaceResourcePreProcessor- Throws:
IOException
-
process
- Specified by:
processin interfaceResourcePostProcessor- Throws:
IOException
-
isSupported
public boolean isSupported()- Specified by:
isSupportedin interfaceSupportAware
-