org.apache.tapestry5.yuicompressor.services
Class YuiCompressorModule

java.lang.Object
  extended by org.apache.tapestry5.yuicompressor.services.YuiCompressorModule

public class YuiCompressorModule
extends Object

Sets up Tapestry to compress JavaScript assets using YUICompressor.

Since:
5.3

Constructor Summary
YuiCompressorModule()
           
 
Method Summary
static void contributeMinimizers(MappedConfiguration<String,ResourceMinimizer> configuration)
          Contibutes minimizers for text/javascript and test/css.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YuiCompressorModule

public YuiCompressorModule()
Method Detail

contributeMinimizers

@Contribute(value=ResourceMinimizer.class)
@Primary
public static void contributeMinimizers(MappedConfiguration<String,ResourceMinimizer> configuration)
Contibutes minimizers for text/javascript and test/css.

Parameters:
configuration -


Copyright © 2003-2012 The Apache Software Foundation.